PageSourceSearch

https://tsvs.gov.kg/599.04d3d731d5e1678cd50b.js

js tsvs.gov.kg collected 2026-10-08 21:08:50 UTC 4,746 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknew_unaa_front=self.webpackChunknew_unaa_front||[]).push([[599],{2802(e,s,a){a.r(s),a.d(s,{default:()=>I});var n=a(4848),i=a(6540),t=a(1468),r=a(8639),l=a(2770),c=a(8774),d=a(2389);const o={main:"Ek9NkSpr",wrapper:"kdD2N6Ul",head:"EkofwQlk",logo:"IjXaavpl",maintitle:"w9wHfa36",formcontainer:"dF1JxVpv",form:"asCln6Yq",formimage:"fFcRRnNI",mainhead:"O04WlV9X",servicesWrapper:"WpTK8K6h"},p={content:"VHytDpd3",title:"SYPsgbU_",image:"tfdH2Ufy"},x=a.p+"c3bc413d35a026b8dce7.png";var m=a(4164),g=a(7767);const u=({className:e,contentClassName:s})=>{const a=(0,g.Zp)(),{t:i}=(0,d.Bd)();return(0,n.jsx)(l.a,{onClick:()=>{a("/contacts")},className:(0,m.A)(p.container,e),children:(0,n.jsxs)(l.a,{display:"flex",alignItems:"center",justifyContent:"center",gap:"50px",className:(0,m.A)(p.content,s),children:[(0,n.jsx)("h2",{className:p.title,children:i("mapTitle")}),(0,n.jsx)("img",{className:p.image,src:x})]})})};var j=a(5661),f=a(1962),h=a(1394),y=a(3325),v=a(1708);const N="jbEB12Iw";var w=a(1488),k=a(4166);const C=()=>(0,n.jsxs)("div",{className:"Fm7fiJNC",children:[(0,n.jsx)("div",{className:"t_v3cOzS"}),(0,n.jsxs)("div",{className:"TJJoDDII",children:[(0,n.jsx)("div",{className:"pjqWRi98"}),(0,n.jsx)("div",{className:"rntUWoVV"}),(0,n.jsx)("div",{className:"HejOjEJv"})]})]});var b=a(2839);const _=()=>{const{t:e,i18n:s}=(0,d.Bd)(),a=(0,t.wA)(),r=(0,g.Zp)(),{data:c,isLoading:o,error:p}=(0,t.d4)((e=>e.news)),[x,m]=(0,i.useState)(600);if((0,i.useEffect)((()=>{const e=()=>{const e=window.innerWidth;m(e<900?250:300)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),(0,i.useEffect)((()=>{a((0,h.Y)())}),[a]),o)return(0,n.jsx)(l.a,{display:"flex",justifyContent:"center",className:N,margin:"10px 0",children:(0,n.jsx)(y.RC,{spaceBetween:1,slidesPerView:1,pagination:{clickable:!0},modules:[v.dK,v.Ij],children:Array.from({length:3}).map(((e,s)=>(0,n.jsx)(y.qr,{children:(0,n.jsx)(C,{})},s)))})});if(p)return(0,n.jsxs)("div",{children:[e("error"),": ",p]});const u=(e,s)=>{const a=(0,b.Q)(e);return a.length>s?a.slice(0,s)+"...":a},j=e=>{try{return(0,w.GP)(new Date(e),"dd.MM.yyyy")}catch(s){return e}},f=c.slice(0,6);return(0,n.jsx)(l.a,{display:"flex",justifyContent:"center",className:N,margin:"10px 0",children:(0,n.jsx)(y.RC,{spaceBetween:1,slidesPerView:1,pagination:{clickable:!0},modules:[v.dK,v.Ij],autoplay:{delay:5e3,disableOnInteraction:!1},children:f.map((e=>(0,n.jsx)(y.qr,{onClick:()=>(async e=>{try{await k.A.get(`/api/news/${e}/view`);const{data:s}=await k.A.get(`/api/news/${e}`);sessionStorage.setItem(String(e),JSON.stringify(s))}catch(e){console.error("Ошибка при обновлении счётчика:",e)}finally{r(`/news/${e}`)}})(e.id),style:{cursor:"pointer"},children:(0,n.jsxs)(l.a,{display:"flex",flexDirection:"column",padding:"40px",className:"kAa19yak",style:{backgroundImage:e.images.length>0?`url(${e.images[0].image})`:"",backgroundSize:"cover",backgroundPosition:"center",height:"400px",borderRadius:"20px",position:"relative"},children:[(0,n.jsx)("div",{className:"kRktckBq"}),(0,n.jsxs)(l.a,{display:"flex",flexDirection:"column",gap:"10px",className:"wlR42RvH",children:[(0,n.jsx)("h2",{className:"t23bevxV",children:"ru"===s.language?e.title_ru:e.title_ky}),(0,n.jsx)("span",{className:"OfMGZ6G4",children:j(e.published_date)}),(0,n.jsx)(l.a,{className:"mso7WyJP",children:(0,n.jsx)("p",{children:u("ru"===s.language?e.text_ru:e.text_ky,x)})})]})]})},e.id)))})})},I=()=>{const{t:e,i18n:s}=(0,d.Bd)(),a=(0,t.wA)(),{data:p,isLoading:x,error:m}=(0,t.d4)((e=>e.services)),g=s.language;return(0,i.useEffect)((()=>{p.length||a((0,r.j)())}),[a,p.length]),(0,n.jsx)(l.a,{display:"flex",justifyContent:"center",flexDirection:"column",padding:"10px 0px",className:o.main,children:(0,n.jsxs)(l.a,{display:"flex",flexDirection:"column",justifyContent:"center",className:o.wrapper,padding:"20px 0px",children:[(0,n.jsxs)(l.a,{display:"flex",justifyContent:"center",gap:"125px",margin:"20px 0px",className:o.head,children:[(0,n.jsx)(f.I,{className:o.logo,Svg:j.A}),(0,n.jsx)("h1",{className:o.maintitle,children:e("mainTitle")})]}),(0,n.jsx)(_,{}),(0,n.jsxs)(l.a,{display:"flex",justifyContent:"center",flexDirection:"column",className:o.servicesSection,children:[x&&(0,n.jsx)("div",{children:"Загрузка..."}),m&&(0,n.jsxs)("div",{children:["Ошибка: ",m]}),!x&&!m&&(0,n.jsx)(l.a,{display:"flex",padding:"20px 0px",gap:"20px",className:o.servicesWrapper,children:p.slice(0,3).map(((e,s)=>(0,n.jsx)(c.m,{title:"kg"===g?e.title_kg:e.title_ru,description:"kg"===g?e.descriptions_kg:e.descriptions_ru,urlLink:e.url_link,backgroundColor:"linear-gradient(to left, #2B32B2, #1488CC)"},s)))})]}),(0,n.jsx)(u,{})]})})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.