1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5518],{75518:function(e,a,t){t.r(a),t.d(a,{DownloadMapModal:function(){return h}});var s=t(57437),l=t(33145),i=t(2265),r=t(14438),n=t(80220),o=t(98240),c=t(8093),d=t(47644),x={src:"/_next/static/media/map-download.33defe5e.webp"},m=t(1839),u=t(9522);let f={lviv:"/assets/images/promo-landings/map/pdf/lviv.pdf",ternopil:"/assets/images/promo-landings/map/pdf/ternopil.pdf","ivano-frankivsk":"/assets/images/promo-landings/map/pdf/frankivsk.pdf"},p={share:{btnText:"ÐодÑлиÑиÑÑ",title:"ÐодÑлÑÑÑÑÑ ÐºÐ°ÑÑоÑ",description:"Хай дÑÑÐ·Ñ Ñеж знаÑ
одÑÑÑ Ð½Ð¾Ð²Ñ Ð¼ÑÑÑÑ Ð´Ð»Ñ ÑпоÑÑÑ Ñа вÑдпоÑинкÑ"},download:{btnText:"ÐаванÑажиÑи",title:"ÐаванÑажÑе каÑÑÑ",description:"ÐÑÑ Ð¼Ð°ÑÑÑÑÑи в Ð¾Ð´Ð½Ð¾Ð¼Ñ Ð¼ÑÑÑÑ. ÐаванÑажÑе, Ñоб легко знаÑ
одиÑи коÑиÑÐ½Ñ Ð¼ÑÑÑÑ Ð¿Ð¾ÑÑÑ"},success:{btnText:"ÐакÑиÑи",title:"УÑе гоÑово!",description:"ÐÑÑкÑйÑе дзвÑнка найближÑим ÑаÑом"}},h=e=>{let{onClose:a,type:t}=e,[h,g]=(0,i.useState)("lviv"),[w,v]=(0,i.useState)(!0),[j,N]=(0,i.useState)(!1),{trackPdfDownload:b,trackShareClick:A}=(0,u.M)(),D=(0,i.useMemo)(()=>"share"===t?p.share:j?p.success:p.download,[t,j]),y=()=>{v(!1),null==a||a()},z=()=>{if(j){y();return}let e=f[h],a=document.createElement("a");a.href=e,a.download=e.split("/").pop()||"",document.body.appendChild(a),a.click(),document.body.removeChild(a),N(!0),b(h)},C=async()=>{if(navigator.share)try{await navigator.share({title:document.title,url:window.location.href,text:"ÐеÑеглÑнÑÑе каÑÑÑ Ð· коÑиÑними локаÑÑÑми Ð´Ð»Ñ ÑпоÑÑÑ Ñа вÑдпоÑинкÑ"}),A("native_share")}catch(e){console.error("Error sharing:",e)}else try{await navigator.clipboard.writeText(window.location.href),A("clipboard"),r.toast.success("ÐоÑÐ¸Ð»Ð°Ð½Ð½Ñ ÑкопÑйовано в бÑÑÐµÑ Ð¾Ð±Ð¼ÑнÑ!")}catch(e){r.toast.error("Ðе вдалоÑÑ ÑкопÑÑваÑи поÑиланнÑ")}};return(0,s.jsxs)(d.V,{isOpen:w,className:"z-[150] !max-w-screen-xs bg-white !p-0",drawerClassName:"bg-white z-[150] h-[70dvh]",emptyHeader:!0,closeModal:y,children:[(0,s.jsxs)("div",{className:"relative flex h-[190px] w-full justify-center bg-surface-tertiary-default",children:[(0,s.jsx)(l.default,{width:560,height:484,src:j?m.Z.src:x.src,alt:"Map Preview",quality:100,className:"absolute top-10"}),(0,s.jsx)("div",{className:'absolute bottom-0 z-20 h-[40px] w-full bg-[url("/assets/images/promo-landings/vector-contact-line-mobile.svg")] bg-cover bg-no-repeat'})]}),(0,s.jsxs)("div",{className:"relative flex h-[calc(100%-190px)] grow flex-col justify-between px-8 pb-10 pt-4 lg:gap-8",children:[(0,s.jsx)("div",{className:"absolute inset-0 z-20 size-full bg-surface"}),(0,s.jsxs)("div",{className:"relative z-30 flex flex-col items-center gap-2.5",children:[(0,s.jsx)("div",{className:"text-[22px] font-semibold leading-[1.1] text-text",children:D.title}),(0,s.jsx)("div",{className:"text-sm leading-[1.3] text-text-muted",children:D.description})]}),(0,s.jsxs)("div",{className:"relative z-30 flex w-full flex-col gap-6",children:[!j&&(0,s.jsxs)("div",{className:"flex w-full flex-col gap-2.5",children:[(0,s.jsx)("div",{className:"text-sm leading-[1.1] text-text-muted",children:"ÐÑÑÑо"}),(0,s.jsx)(c.SelectInput,{parentClassName:"z-10",selectedValue:h,handleSelectValue:g,trigerClassName:"w-full",items:o.B})]}),(0,s.jsx)(n.g,{variant:"primary",onClick:()=>{"share"===t?C():z()},className:"w-full text-center",children:D.btnText})]})]})]})}},47644:function(e,a,t){t.d(a,{V:function(){return x}});var s=t(57437),l=t(60349),i=t(72694),r=t(94457),n=t(23340),o=t(12381),c=t(74291),d=t(75465);let x=e=>{let{title:a,isOpen:t,children:x,className:m,closeModal:u,mediaWidth:f="min",description:p,mediaPixels:h,emptyHeader:g,hasCloseButton:w=!0,drawerClassName:v,classNameWrapper:j,modalDrawerFooter:N,modalDrawerContent:b,disableInteractOutside:A}=e;return(0,i.ac)("(".concat(f,"-width: ").concat(h||640,"px)"))?(0,s.jsx)(c.Dialog,{open:t,onOpenChange:u,children:(0,s.jsx)(c.DialogContent,{onInteractOutside:e=>{A&&e.preventDefault()},className:(0,r.cn)("w-11/12 md:py-6 min-h-[200px] max-h-[682px] sm:max-w-[560px] flex flex-col overflow-y-auto pb-0",m),children:(0,s.jsxs)("div",{className:"relative",children:[w&&(0,s.jsx)(c.DialogClose,{asChild:!0,children:(0,s.jsx)(o.z,{variant:"ghost",className:"absolute right-4 top-4 z-[101] size-5 px-0",onClick:u,size:"icon",children:(0,s.jsx)(n.J,{name:"close",size:16})})}),g?(0,s.jsxs)(l.f,{children:[(0,s.jsx)(c.DialogTitle,{children:"Ðодалка Ð´Ð»Ñ Ð¿Ð¾ÑиÑÐµÐ½Ð½Ñ Ñа ÑкаÑÑÐ²Ð°Ð½Ð½Ñ ÐºÐ°ÑÑи"}),(0,s.jsx)(c.DialogDescription,{children:"Ðодалка Ð´Ð»Ñ Ð¿Ð¾ÑиÑÐµÐ½Ð½Ñ Ñа ÑкаÑÑÐ²Ð°Ð½Ð½Ñ ÐºÐ°ÑÑи"})]}):(0,s.jsx)(c.DialogHeader,{className:"h-fit grow-0 flex-row items-center justify-between",children:(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsx)(c.DialogTitle,{children:a||""}),(0,s.jsx)(c.DialogDescription,{className:(0,r.cn)("text-md-regular text-muted-foreground",p?"":"sr-only"),children:p||""})]})}),(b||x)&&(0,s.jsx)("div",{className:(0,r.cn)("size-full overflow-y-auto overflow-x-hidden",N&&b&&"flex flex-col gap-4",j),children:b||x}),N&&(0,s.jsx)("div",{className:"mt-auto h-fit w-full shrink-0 bg-surface",children:N})]})})}):(0,s.jsx)(d.Drawer,{direction:"bottom",open:t,onClose:u,children:(0,s.jsx)(d.DrawerContent,{className:(0,r.cn)("mt-0 h-[90dvh]",v),children:(0,s.jsxs)("div",{className:"relative size-full",children:[w&&(0,s.jsx)(o.z,{variant:"ghost",className:"absolute right-4 top-4 z-[101] size-5 px-0",onClick:u,size:"icon",children:(0,s.jsx)(n.J,{name:"close",size:16})}),g?(0,s.jsxs)(l.f,{children:[(0,s.jsx)(d.DrawerTitle,{children:"Ðодалка Ð´Ð»Ñ Ð¿Ð¾ÑиÑÐµÐ½Ð½Ñ Ñа ÑкаÑÑÐ²Ð°Ð½Ð½Ñ ÐºÐ°ÑÑи"}),(0,s.jsx)(d.DrawerDescription,{children:"Ðодалка Ð´Ð»Ñ Ð¿Ð¾ÑиÑÐµÐ½Ð½Ñ Ñа ÑкаÑÑÐ²Ð°Ð½Ð½Ñ ÐºÐ°ÑÑи"})]}):(0,s.jsx)("div",{className:"relative z-50 w-full shadow-sm",children:(0,s.jsx)("div",{className:"mx-auto flex w-full max-w-[688px] items-center justify-between px-6",children:(0,s.jsxs)(d.DrawerHeader,{className:"pl-0 text-start",children:[(0,s.jsx)(d.DrawerTitle,{className:(0,r.cn)("!h2"),children:a}),(0,s.jsx)(d.DrawerDescription,{className:(0,r.cn)("text-muted-foreground text-sm",!p&&"sr-only"),"aria-describedby":"Modal drawer",children:p||""})]})})}),(0,s.jsxs)("div",{className:(0,r.cn)("relative mx-auto h-full overflow-y-auto md:max-w-screen-sm"),children:[b||x,N&&(0,s.jsx)("div",{className:"fixed bottom-0 left-0 h-fit w-full bg-surface pb-4",children:N})]})]})})})}},74291:function(e,a,t){t.d(a,{Dialog:function(){return n},DialogClose:function(){return c},DialogContent:function(){return x},DialogDescription:function(){return p},DialogHeader:function(){return m},DialogTitle:function(){return f},cN:function(){return u}});var s=t(57437),l=t(70001),i=t(2265),r=t(94457);let n=l.fC;l.xz;let o=l.h_,c=l.x8,d=i.forwardRef((e,a)=>{let{className:t,...i}=e;return(0,s.jsx)(l.aV,{ref:a,className:(0,r.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...i})});d.displayName=l.aV.displayName;let x=i.forwardRef((e,a)=>{let{classNameOverlay:t,className:i,container:n,children:c,...x}=e;return(0,s.jsxs)(o,{container:n,children:[(0,s.jsx)(d,{className:(0,r.cn)("z-[101] bg-black-dialog_bg",t)}),(0,s.jsx)(l.VY,{ref:a,className:(0,r.cn)("fixed left-[50%] top-[50%] z-[102] !pointer-events-auto grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
1nded-lg",i),...x,children:c})]})});x.displayName=l.VY.displayName;let m=e=>{let{className:a,...t}=e;return(0,s.jsx)("div",{className:(0,r.cn)("flex flex-col text-center sm:text-left",a),...t})};m.displayName="DialogHeader";let u=e=>{let{className:a,...t}=e;return(0,s.jsx)("div",{className:(0,r.cn)("flex flex-col-reverse",a),...t})};u.displayName="DialogFooter";let f=i.forwardRef((e,a)=>{let{className:t,...i}=e;return(0,s.jsx)(l.Dx,{ref:a,className:(0,r.cn)("text-text",t),...i})});f.displayName=l.Dx.displayName;let p=i.forwardRef((e,a)=>{let{className:t,...i}=e;return(0,s.jsx)(l.dk,{ref:a,className:(0,r.cn)("text-sm text-muted-foreground",t),...i})});p.displayName=l.dk.displayName},1839:function(e,a){a.Z={src:"/_next/static/media/succes-large.f76ec60f.png",height:424,width:800,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAHlBMVEVMaXGWlpyqu7u3vLKus6A+Nz6In5+nu6dQUlh0iIgQufIMAAAACnRSTlMADwcYNSl2Jnmi3joSCwAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAACFJREFUeJxjYGBgYmdhZAABZk42FiYQg5GDlRkixADiAwAE7gA7ZtPabAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4}}}]);
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.