PageSourceSearch

https://trk.uz/assets/index-JoxDZaV1.js

js trk.uz collected 2026-10-09 21:56:29 UTC 6,443 bytes, 1 lines download raw bytes

1import{u as v,r as l,j as a,av as k,aw as d,ax as h,a1 as _,ay as j}from"./index-GlXbEE12.js";import{y as z,k as y,e as N,l as w}from"./location-marker-BgswGgiK.js";const g=16,L=()=>{const{t:e}=v(),[r,u]=l.useState("tashkentBankAssociation"),[o,x]=l.useState(!1);l.useEffect(()=>{if(!o)return;const t=()=>x(!1);return window.addEventListener("scroll",t,{passive:!0}),()=>window.removeEventListener("scroll",t)},[o]);const i=l.useRef(null),p=l.useCallback(t=>{const n=t;i.current=n,n!=null&&n.behaviors&&(n.behaviors.disable("scrollZoom"),n.behaviors.enable("multiTouch"),n.behaviors.enable("drag"))},[]);l.useEffect(()=>{var t,n;(n=(t=i.current)==null?void 0:t.setCenter)==null||n.call(t,[s.lat,s.lng],g),requestAnimationFrame(()=>{var m,c;return(c=(m=i.current)==null?void 0:m.container)==null?void 0:c.fitToViewport()})},[r]);const f=(t,n)=>`https://yandex.uz/maps/?mode=routes&rtext=~${t},${n}&ll=${n},${t}&z=18&pt=${n},${t},pm2rdm`,b=l.useMemo(()=>[{value:"tashkentBankAssociation",label:e("region_head_office")},{value:"qoraqalpigiston",label:e("region_karakalpakstan")},{value:"andijon",label:e("region_andijan")},{value:"buxoro",label:e("region_bukhara")},{value:"namangan",label:e("region_namangan")},{value:"samaraqand",label:e("region_samarkand")},{value:"navoiy",label:e("region_navoi")},{value:"qashqadaryo",label:e("region_kashkadarya")},{value:"sirdaryo",label:e("region_sirdarya")},{value:"xorazm",label:e("region_khorezm")},{value:"fargona",label:e("region_fergana")},{value:"jizzax",label:e("region_jizzakh")}],[e]),s=l.useMemo(()=>({tashkentBankAssociation:{lat:41.3177406,lng:69.2720155,name:e("office_tashkent_address"),branch:e("region_head_office")},qoraqalpigiston:{lat:42.456775,lng:59.590733,name:e("qoraqalpigiston_address"),branch:e("region_karakalpakstan")},andijon:{lat:40.78009,lng:72.352083,name:e("andijon_address"),branch:e("region_andijan")},buxoro:{lat:39.77625,lng:64.443683,name:e("buxoro_address"),branch:e("region_bukhara")},namangan:{lat:41.005545,lng:71.662566,name:e("namangan_address"),branch:e("region_namangan")},samaraqand:{lat:39.662368,lng:66.934253,name:e("samarqand_address"),branch:e("region_samarkand")},navoiy:{lat:40.139635,lng:65.346382,name:e("navoiy_address"),branch:e("region_navoi")},qashqadaryo:{lat:38.83436,lng:65.808125,name:e("qashqadaryo_address"),branch:e("region_kashkadarya")},sirdaryo:{lat:40.508073,lng:68.779957,name:e("sirdaryo_address"),branch:e("region_sirdarya")},xorazm:{lat:41.552213,lng:60.632491,name:e("xorazm_address"),branch:e("region_khorezm")},fargona:{lat:40.378292,lng:71.788525,name:e("fargona_address"),branch:e("region_fergana")},jizzax:{lat:40.110714,lng:67.847381,name:e("jizzax_address"),branch:e("region_jizzakh")}}),[e])[r];return a.jsxs("div",{className:"container mb-[136px] max-sm:mb-10",children:[a.jsx(k,{}),a.jsxs("div",{className:"bg-mainWhite border border-borderColor rounded-[10px] flex items-stretch justify-between max-lg:flex-col-reverse overflow-hidden max-sm:items-start",children:[a.jsxs("div",{className:"flex flex-col justify-center py-10 px-[48px] max-xl:px-[30px] flex-1 min-w-[420px] max-w-[620px] relative max-lg:px-4 max-lg:py-4 max-lg:min-w-0 max-lg:max-w-full",children:[a.jsx("div",{className:"z-10",children:a.jsx("p",{className:"font-halvar font-bold pb-6 text-mainBlue text-[40px] text-balance max-xl:text-[30px] max-lg:pb-4 max-sm:text-2xl",children:s.branch})}),a.jsxs("div",{className:"flex flex-col gap-4 max-lg:gap-3 max-lg:grid max-lg:grid-cols-2 max-sm:grid-cols-1 max-sm:gap-2",children:[a.jsxs("div",{className:"z-10",children:[a.jsx("p",{className:"pb-1 text-[20px] text-textColor max-sm:text-sm",children:e("contact_center")}),a.jsx("p",{children:a.jsx("a",{href:"tel:+998712055757",onClick:()=>d({phoneNumber:"+998712055757",clickLocation:"trk_ofisi"}),className:"text-mainBlue text-[24px] font-medium hover:text-lightBlue transition-colors duration-300 max-sm:text-lg",children:"+998 (71) 205 57 57"})})]}),a.jsxs("div",{className:"z-10",children:[a.jsx("p",{className:"pb-1 text-[20px] text-textColor max-sm:text-sm",children:e("trust_number")}),a.jsx("p",{children:a.jsx("a",{href:"tel:+998712055757",onClick:()=>d({phoneNumber:"+998712055757",clickLocation:"trk_ofisi"}),className:"text-mainBlue text-[24px] font-medium hover:text-lightBlue transition-colors duration-300 max-sm:text-lg",children:"+998 (71) 205 57 57 (10-30)"})})]}),a.jsxs("div",{className:"z-10",children:[a.jsx("p",{className:"pb-1 text-[20px] text-textColor max-sm:text-sm",children:e("email_text")}),a.jsx("p",{children:a.jsx("a",{href:"mailto:[email protected]",onClick:()=>h({clickLocation:"trk_ofisi"}),className:"text-mainBlue text-[24px] font-medium hover:text-lightBlue transition-colors duration-300 max-sm:text-lg",children:"[email protected]"})})]}),a.jsxs("div",{className:"z-10",children:[a.jsx("p",{className:"pb-1 text-[20px] text-textColor max-sm:text-sm",children:e("e_xat")}),a.jsx("p",{children:a.jsx("a",{href:"mailto:[email protected]",onClick:()=>h({clickLocation:"trk_ofisi"}),className:"text-mainBlue text-[24px] font-medium hover:text-lightBlue transition-colors duration-300 max-sm:text-lg",children:"[email protected]"})})]}),a.jsxs("div",{className:"z-10",children:[a.jsx("p",{className:"pb-1 text-textColor text-[20px] max-sm:text-sm",children:e("address")}),a.jsx("p",{children:a.jsx("a",{href:f(s.lat,s.lng),target:"_blank",rel:"noopener noreferrer",className:"text-mainBlue text-[22px] font-medium leading-snug text-pretty hover:text-lightBlue transition-colors duration-300 max-sm:text-lg",children:s.name})})]})]}),a.jsx("img",{src:_,alt:"",className:"absolute top-0 bottom-[26px] min-w-[100%] min-h-[100%] left-[26px] z-0"})]}),a.jsxs("div",{className:"relative min-w-0 flex-1 max-lg:w-full self
1-stretch",children:[a.jsx(j,{value:r,onChange:t=>u(t),options:b,popupClassName:"custom-antd-dropdown",listHeight:320,open:o,onDropdownVisibleChange:x,showSearch:!1,getPopupContainer:t=>t.parentElement??document.body,className:"!absolute top-3 left-3 z-10 shadow-md"}),a.jsx("div",{className:"h-full min-h-[550px] max-lg:h-[300px] max-lg:min-h-0 max-lg:w-full border border-borderColor rounded-tr-[10px] rounded-br-[10px] overflow-hidden max-sm:rounded-none",children:a.jsx(z,{children:a.jsx(y,{instanceRef:p,defaultState:{center:[s.lat,s.lng],zoom:g},width:"100%",height:"100%",children:a.jsx(N,{geometry:[s.lat,s.lng],options:{iconLayout:"default#image",iconImageHref:w,iconImageSize:[60,60]}})})})})]})]})]})};export{L as O};

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.