PageSourceSearch

https://avium.ru/_nuxt/2AH3cpIP.js

js avium.ru collected 2026-10-06 10:57:24 UTC 63,464 bytes, 51 lines download raw bytes

1import{L as Q,r as C,m as Xe,f as et,c as B,o as H,i as We,y as ke,n as qe,a as e,t as Pe,x as Re,O as ct,l as Ae,q as fe,g as tt,J as de,j as Y,b as $,d as N,w as X,U as at,_ as dt,v as se,V as Mt,A as Ue,G as mt,W as Je,X as Ge,Y as Ve,Z as Ke,B as ot,N as Ee,$ as Se,F as Qe,h as st,z as Lt,u as zt}from"./Bm1fMT0b.js";import{I as $t}from"./COg-jBqc.js";import Et from"./BX5G6JQe.js";import{_ as ut,N as St}from"./BeBzkfvA.js";import Pt from"./DzvWU7jd.js";import Be from"./v593qmBJ.js";import{u as Tt}from"./-ab0Z_3O.js";import{_ as Ht,a as Rt,b as At,c as Dt,d as jt}from"./DlC9QX0O.js";import{_ as Bt}from"./DAHWARn5.js";import Ot from"./DQDfPRHy.js";import{u as Oe}from"./Bgj5OuL_.js";import Zt from"./B0O6i8uS.js";import{_ as nt}from"./CrfmSALJ.js";import{u as rt}from"./EhltUFp3.js";import"./CPh0eQxv.js";import"./wEDeKCrv.js";import"./I51tvXPd.js";import"./Ckypvoqy.js";import"./WqbEp_RU.js";import"./BNL_kLc4.js";import"./CUffHENh.js";import"./C6N08hH3.js";import"./3ddR3gc4.js";import"./GDjJl-t7.js";import"./BbVhv3Z0.js";import"./Mbo4-NSI.js";import"./B8zPR5Kl.js";import"./cjb1TReI.js";import"./DGfK4Lc-.js";const pt=Q("/i/location/mobile/[email protected]"),It=Q("/i/location/hero.webp"),Nt=Q("/v/location.mp4"),xt=Q("/i/location/mobile/[email protected]"),ft=Q("/i/location/[email protected]"),ht=Q("/i/location/mobile/image-1.webp"),Yt=Q("/i/location/[email protected]"),vt=Q("/i/location/mobile/[email protected]"),gt=Q("/i/location/[email protected]"),lt="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.10662%2010.4894C6.10662%2010.4894%206.51066%207.86188%207.99923%207.06846C8.98806%206.54295%209.85994%205.83197%2010.8275%205.25494C12.0928%204.49243%2013.0816%204.97672%2013.1454%206.4193C13.2198%208.11948%2013.2198%209.82997%2013.156%2011.5301C13.1242%2012.4369%2013.4006%2013.1067%2014.1661%2013.6013C14.198%2013.6219%2014.2299%2013.6631%2014.2618%2013.6837C17.8025%2015.4869%2018.3448%2018.8564%2018.9508%2022.1743C19.0997%2022.9986%2018.9508%2023.8024%2017.9407%2023.9672C16.9519%2024.1321%2016.5372%2023.452%2016.3458%2022.6174C16.3033%2022.4216%2016.2395%2022.2258%2016.2182%2022.0197C15.8461%2018.9388%2014.3575%2016.5586%2011.6037%2014.9408C10.7743%2014.4565%2010.4766%2013.7146%2010.5192%2012.7666C10.5723%2011.6744%2010.5192%2011.1489%2010.5298%2010.0567C10.5298%209.45902%2010.3171%208.75834%209.78551%209.08807C9.21135%209.43841%208.84984%209.85057%208.88174%2010.5616C8.903%2011.1695%208.903%2011.7774%208.81794%2012.3854C8.72225%2013.0964%208.29694%2013.6219%207.51013%2013.6322C6.65952%2013.6425%206.22358%2013.0964%206.12789%2012.3339C6.06409%2011.7774%206.11726%2010.4997%206.11726%2010.4997L6.10662%2010.4894Z'%20fill='white'/%3e%3cpath%20d='M5.01181%2022.6801C5.01181%2022.1649%205.27763%2021.7424%205.55408%2021.3405C6.74493%2019.5785%207.94642%2017.8268%209.13727%2016.0751C9.637%2015.3332%2010.2218%2014.952%2011.1043%2015.5702C11.9124%2016.1369%2011.9655%2016.7552%2011.402%2017.5383C10.0517%2019.4446%208.75449%2021.3714%207.42542%2023.288C7.04264%2023.8341%206.53228%2024.1638%205.81989%2023.9165C5.24573%2023.7105%204.97992%2023.2777%205.00118%2022.6801H5.01181Z'%20fill='white'/%3e%3cpath%20d='M12.6341%204.27652C11.4326%204.28682%2010.4013%203.28732%2010.4119%202.12296C10.4226%200.99981%2011.422%200.0209183%2012.5491%200.000310057C13.7293%20-0.0202982%2014.8457%200.989506%2014.867%202.10235C14.8883%203.20489%2013.8037%204.26622%2012.6341%204.27652Z'%20fill='white'/%3e%3cpath%20d='M13.9219%2010.5101C13.9644%2010.0155%2013.8474%209.39721%2014.4748%209.16021C15.0383%208.95413%2015.3785%209.43842%2015.7507%209.74755C16.3567%2010.2421%2016.9841%2010.7161%2017.5263%2011.2623C18.0898%2011.829%2018.1536%2012.5091%2017.5795%2013.1067C17.0266%2013.6837%2016.3461%2013.6013%2015.7719%2013.1582C14.8788%2012.4781%2013.7092%2011.9423%2013.9112%2010.5101H13.9219Z'%20fill='white'/%3e%3c/svg%3e",it="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9805%2017.1631C10.4331%2017.1631%208.89276%2017.1631%207.34542%2017.1631C5.93747%2017.1631%204.58528%2016.9064%203.26795%2016.4216C2.21547%2016.0365%202.01334%2015.737%202.01334%2014.5961C2.01334%2013.8617%201.99243%2013.1272%202.01334%2012.3928C2.05516%2011.1164%202.45942%2010.0825%203.78373%209.66181C4.11132%209.55485%204.3483%209.32667%204.50164%209.01293C4.75256%208.48527%205.0453%207.96474%205.24047%207.41569C5.77019%205.91827%206.82963%205.29079%208.33516%205.15531C10.9698%204.90574%2013.5975%204.96991%2016.2252%205.25513C17.2289%205.36209%2017.9538%205.80419%2018.365%206.77394C18.6787%207.51551%2019.0551%208.2357%2019.3966%208.97014C19.5709%209.35519%2019.8357%209.66181%2020.233%209.7545C21.2994%2010.0112%2021.7176%2010.7813%2021.8779%2011.7796C22.0592%2012.9205%2021.9964%2014.0685%2021.9546%2015.2165C21.9337%2015.7727%2021.5085%2016.0793%2021.0485%2016.2789C19.7591%2016.8423%2018.3999%2017.1346%2016.9989%2017.1631C15.3331%2017.1917%2013.6603%2017.1631%2011.9875%2017.1631H11.9805ZM12.0014%209.59763C13.9948%209.59763%2015.9883%209.59763%2017.9887%209.59763C18.4835%209.59763%2018.5254%209.5192%2018.3302%209.0771C18.0932%208.54231%2017.8353%208.01465%2017.6123%207.47273C17.2429%206.59568%2016.6086%206.11793%2015.6676%206.07515C13.2072%205.96819%2010.7468%205.86836%208.28637%206.07515C7.56846%206.13219%206.89933%206.35324%206.5578%207.10907C6.27203%207.72943%205.98626%208.34979%205.70746%208.97014C5.4426%209.55485%205.47048%209.60476%206.11172%209.60476C8.07727%209.60476%2010.0428%209.60476%2012.0014%209.60476V9.59763ZM18.7414%2011.2234C17.912%2011.2163%2017.3056%2011.8152%2017.2986%2012.6424C17.2917%2013.4838%2017.9259%2014.1612%2018.7205%2014.1612C19.5081%2014.1612%2020.1563%2013.5194%2020.1703%2012.7208C20.1842%2011.8651%2019.5848%2011.2305%2018.7414%2011.2234ZM3.80464%2012.7065C3.80464%2013.5266%204.43194%2014.1683%205.21956%2014.1683C6.02111%2014.1683%206.69023%2013.4909%206.67629%2012.678C6.66235%2011.8438%206.01414%2011.2163%205.19167%2011.2305C4.36921%2011.2448%203.79767%2011.8509%203.80464%2012.7065Z'%20fill='white'/%3e%3cpath%20d='M4.10549%2018.9879C3.87548%2018.9879%203.6385%2019.0093%203.40849%2018.9879C2.44662%2018.8952%201.86114%2018.1037%202.02842%2017.1554C2.07024%2016.9129%202.17479%2016.8487%202.37692%2016.97C3.40849%2017.5974%204.5446%2017.8185%205.72254%2017.9183C6.08498%2017.9468%206.11286%2018.118%205.92467%2018.3818C5.65284%2018.774%205.26949%2018.9522%204.80946%2018.9879C4.57945%2019.0093%204.34247%2018.9879%204.11246%2018.9879H4.10549Z'%20fill='white'/%3e%3cpath%20d='M19.8726%2018.9958C19.4266%2018.9958%2018.9665%2019.0457%2018.5483%2
1018.8032C18.388%2018.7105%2018.2417%2018.5893%2018.1092%2018.4538C18.0047%2018.3469%2017.8722%2018.2114%2017.9489%2018.0403C18.0186%2017.8905%2018.1859%2017.919%2018.3253%2017.9119C18.9596%2017.8549%2019.5938%2017.7693%2020.2072%2017.5768C20.6533%2017.4413%2021.0854%2017.2702%2021.4967%2017.0277C21.887%2016.7995%2021.9776%2016.8637%2021.9776%2017.3272C21.9776%2018.3397%2021.3782%2018.9672%2020.3884%2018.9886C20.2142%2018.9886%2020.0469%2018.9886%2019.8726%2018.9886V18.9958Z'%20fill='white'/%3e%3c/svg%3e",Ft={class:"relative"},Wt={key:2,class:"mt-[12px]"},Gt={__name:"ReadMoreSplit",props:{enabled:{type:Boolean,default:!0}},setup(y){const k=y,D=C(null),o=C(!1),b=C(0),j=C(!0),F=Xe(()=>k.enabled?{maxHeight:o.value?b.value+"px":"0px"}:{}),u=async()=>{o.value=!o.value,await Re()};return et(()=>{D.value&&(b.value=D.value.scrollHeight)}),(l,i)=>(H(),B("div",Ft,[We(l.$slots,"main"),y.enabled?(H(),B("div",{key:1,ref_key:"extraRef",ref:D,class:"overflow-hidden transition-[max-height] duration-500 ease-in-out",style:qe(F.value)},[We(l.$slots,"extra")],4)):We(l.$slots,"extra",{key:0}),y.enabled&&j.value?(H(),B("div",Wt,[e("button",{class:"underline text-[16px] leading-[24px] font-normal underline-offset-[3px]",onClick:u},Pe(o.value?"Скрыть":"Читать далее"),1)])):ke("",!0)]))}},Vt=ht,Kt=ht,Xt=vt,qt=vt,Ut=gt,Jt={class:"w-full bg-[#858D98] text-white | max-md:pt-[48px] max-md:pb-[64px]"},Qt={class:"relative md:h-[1380px] z-0 md:pt-[80px] md:px-[80px] | max-md:flex max-md:flex-col"},ea={class:"max-md:hidden"},ta={class:"md:flex justify-between | max-md:-order-1 max-md:px-[20px] max-md:pb-[32px]"},aa={class:"md:flex-[0_0_630px] | max-md:mt-[32px]"},oa=["data-animate"],sa={class:"flex md:gap-[80px] md:pl-[80px] md:mt-[85px] | max-md:flex-col-reverse max-md:mt-[58px] overflow-hidden"},na={class:"md:flex flex-col flex-[0_0_413px] md:pt-[35px] | max-md:px-[20px] max-md:pt-[48px]"},ra=["data-animate"],la={class:"md:flex md:gap-[20px] md:pt-[28px] | max-md:pt-[23px]"},ia={class:"md:w-[197px]"},ca={class:"flex items-end"},da={class:"special-text-2 mb-[-11px]"},ma=["src"],ua={class:"md:w-[197px] | max-md:mt-[31px]"},pa={class:"flex items-end"},xa={class:"special-text-2 mb-[-11px]"},fa=["src"],ha={class:"md:flex-[0_0_867px] md:h-[563px] | max-md:w-[232px] max-md:h-[233px] max-md:flex-[0_0_233px] max-md:mx-auto"},va={class:"md:flex md:gap-[80px] md:pr-[80px] md:mt-[120px] md:pb-[152px] | max-md:pt-[32px]"},ga={class:"md:flex-[0_0_867px] md:w-[867px] md:h-[560px]"},ba={class:"md:flex flex-col flex-[0_0_413px] md:pt-[32px] | max-md:px-[20px] max-md:pt-[48px]"},ya={class:"md:flex md:gap-[20px] md:pt-[56px] | max-md:pt-[25px]"},wa={class:"md:w-[197px]"},_a={class:"flex items-end"},Ca={class:"special-text-2 mb-[-11px]"},ka=["src"],Ma={class:"md:w-[197px] | max-md:mt-[32px]"},La={class:"flex items-end"},za={class:"special-text-2 mb-[-11px]"},$a=["src"],Ea={__name:"transport",async setup(y){let k,D;const{$eventBus:o}=ct(),{data:b}=([k,D]=Ae(()=>Tt(29)),k=await k,D(),k),j=fe("isMobile"),F=fe("isTablet");let u=C(null),l=C(!1),i=null;const v=o.on("afterPreloaderHide",()=>{j.value&&!F.value||(ScrollTrigger.refresh(),i=ScrollTrigger.create({trigger:u.value,start:"top 80%",once:!0,onEnter:()=>l.value=!0}))});return tt(()=>{i==null||i.kill(),v==null||v()}),(S,a)=>{const n=Pt;return H(),B("section",Jt,[e("div",Qt,[a[7]||(a[7]=e("picture",null,[e("source",{media:"(max-width: 767px)",type:"image/webp",srcset:Vt}),e("source",{media:"(max-width: 767px)",type:"image/png",srcset:Kt}),e("img",{class:"md:h-[952px] w-full object-cover md:absolute md:top-[428px] md:left-0 md:-z-10 | max-md:mt-[-30px] max-md:h-full",src:Yt,alt:""})],-1)),e("div",ea,[(H(),B("svg",{class:de([{"scale-100 animate-opacity-pulse":Y(l)},"absolute bottom-[7.3%] left-[1.66%] w-[523px] h-[523px] scale-0 transition-transform duration-700 delay-700 ease-in"]),viewBox:"0 0 523 523",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[a[1]||(a[1]=e("circle",{cx:"261.5",cy:"261.5",r:"260.5",stroke:"white","stroke-width":"2"},null,-1)),e("g",{class:de([{"animate-appear-on-circle":Y(l)},"opacity-0 [transform-origin:261.5px_261.5px]"])},a[0]||(a[0]=[e("circle",{cx:"456",cy:"91",r:"31",fill:"#858D98",stroke:"white","stroke-width":"2"},null,-1),e("path",{d:"M454.376 95.36H455.736V104H454.376V95.36ZM461.432 104H459.8L456.088 99.584V99.44L459.56 95.36H461.112L457.592 99.488L461.432 104ZM472.175 104L470.943 97.584L467.887 103.824H467.583L464.543 97.584L463.3
111 104H461.999L463.647 95.36H464.783L467.743 101.408L470.687 95.36H471.823L473.487 104H472.175Z",fill:"white"},null,-1),e("path",{d:"M444.12 104V83.84H439.44V82.22C441.24 82.124 442.68 81.536 443.76 80.456C444.216 80 444.576 79.448 444.84 78.8H446.82V104H444.12Z",fill:"white"},null,-1)]),2)],2)),(H(),B("svg",{ref_key:"markerEl",ref:u,class:de([{"animate-drop-marker":Y(l)},"opacity-0 absolute bottom-[26.1%] left-[18.42%] w-[56px] h-[80px]"]),viewBox:"0 0 56 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a[2]||(a[2]=[e("path",{d:"M53.8686 17.2849C55.2758 20.682 56 24.323 56 28C56.0004 33.3393 54.4677 38.5664 51.584 43.06H51.612L28 80L4.388 43.06H4.42C1.636 38.708 0 33.548 0 28C0 24.323 0.724241 20.682 2.13137 17.2849C3.5385 13.8877 5.60097 10.8011 8.20101 8.20101C10.8011 5.60097 13.8877 3.5385 17.2849 2.13137C20.682 0.724241 24.323 0 28 0C31.677 0 35.318 0.724241 38.7151 2.13137C42.1123 3.5385 45.199 5.60097 47.799 8.20101C50.399 10.8011 52.4615 13.8877 53.8686 17.2849Z",fill:"#EE642D"},null,-1),e("path",{d:"M29.743 15H25.257L15 40H18.5489L20.8081 34.4994H37.0171L35.013 36.4946L36.4511 40H40L29.743 15ZM22.0328 31.4973L27.4095 18.0344H27.5905L32.9347 31.4973H22.0328Z",fill:"white"},null,-1)]),2))]),a[8]||(a[8]=e("div",{class:"md:hidden absolute rounded-full w-[18px] h-[18px] bg-orange left-[16.3%] bottom-[10.7%]"},[e("div",{class:"animate-point-pulse w-[150%] h-[150%] rounded-full border border-orange m-[-25%]"})],-1)),e("div",ta,[a[6]||(a[6]=e("div",null,[e("svg",{class:"w-[56px] h-[80px] | max-md:w-[48px] max-md:h-[48px]",viewBox:"0 0 56 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M53.8686 17.2849C55.2758 20.682 56 24.323 56 28C56.0004 33.3393 54.4677 38.5664 51.584 43.06H51.612L28 80L4.388 43.06H4.42C1.636 38.708 0 33.548 0 28C0 24.323 0.724241 20.682 2.13137 17.2849C3.5385 13.8877 5.60097 10.8011 8.20101 8.20101C10.8011 5.60097 13.8877 3.5385 17.2849 2.13137C20.682 0.724241 24.323 0 28 0C31.677 0 35.318 0.724241 38.7151 2.13137C42.1123 3.5385 45.199 5.60097 47.799 8.20101C50.399 10.8011 52.4615 13.8877 53.8686 17.2849Z",fill:"#EE642D"}),e("path",{d:"M29.743 15H25.257L15 40H18.5489L20.8081 34.4994H37.0171L35.013 36.4946L36.4511 40H40L29.743 15ZM22.0328 31.4973L27.4095 18.0344H27.5905L32.9347 31.4973H22.0328Z",fill:"white"})]),e("a",{class:"small-text mt-[24px] underline inline-block underline-offset-[2px] | max-md:mt-[12px]",target:"_blank",rel:"nofollow noopener noreferrer",href:"https://yandex.ru/maps/213/moscow/?ll=37.501567%2C55.787395&mode=routes&rtext=~55.787624%2C37.502506&rtt=auto&ruri=~&z=17","data-animate":"lines"},"3-я Хорошёвская улица, ЗУ 18/2")],-1)),e("div",aa,[e("div",{class:"upper-text-2 | max-md:pr-[10px]","data-animate":Y(j)?"opacity":"lines"},a[3]||(a[3]=[N(" локация сочетает атмосферу респектабельного спокойствия",-1),e("br",{class:"max-md:hidden"},null,-1),N(" и динамику нового строительства ",-1)]),8,oa),$(Gt,{class:"small-text md:pt-[32px] | max-md:pt-[20px]",enabled:Y(j),"data-animate":"opacity"},{main:X(()=>a[4]||(a[4]=[N(" АВИУМ находится рядом со станцией МЦК Зорге",-1),e("br",{class:"max-md:hidden"},null,-1),N(" в зоне влияния Ленинградского делового коридора, одной из самых востребованных локаций столицы в сегменте коммерческой недвижимости с отличной транспортной доступностью. Менее одной минуты займет путь пешком ",-1)])),extra:X(()=>a[5]||(a[5]=[N(" до станции МЦК Зорге, а быстрый выезд",-1),e("br",{class:"max-md:hidden"},null,-1),N(" на Ленинградский проспект в обе стороны и Звенигородское шоссе обеспечивает комфорт для автомобилистов. ",-1)])),_:1},8,["enabled"])])])]),e("div",sa,[e("div",na,[e("div",{class:"h2","data-animate":Y(j)?"opacity":"lines"},a[9]||(a[9]=[N("МЕТРО",-1),e("br",{class:"max-md:hidden"},null,-1),N(" В ШАГЕ",-1)]),8,ra),a[14]||(a[14]=e("div",{class:"upper-text-2 md:my-[32px] | max-md:mt-[22px] max-md:mb-[20px]","data-animate":"lines"},"мцк зорге и метро «октябрьское поле»",-1)),a[15]||(a[15]=e("div",{class:"small-text-2","data-animate":"lines"},[N(" Сотрудникам легко добираться до офиса."),e("br"),N(" МЦК Зорге в двух шагах, а до метро «Октябрьское поле» неспешным шаÐ
1³Ð¾Ð¼ -"),e("br"),N(" 7 минут. ")],-1)),e("div",la,[e("div",ia,[e("div",ca,[e("span",da,[$(Be,{start:0,end:1,duration:1.5,animation:"active"})]),a[10]||(a[10]=e("span",{class:"regular-text-desc ml-[-18px] md:pb-[3px] uppercase | max-md:pl-[3px] max-md:pb-[2px]","data-animate":"opacity"},"мин.",-1))]),a[11]||(a[11]=e("div",{class:"smallest-text pb-[8px] | max-md:pt-[3px]","data-animate":"opacity"},"до МЦК Зорге",-1)),e("img",{class:"w-[24px] h-[24px]",src:Y(lt),alt:""},null,8,ma)]),e("div",ua,[e("div",pa,[e("span",xa,[$(Be,{start:0,end:7,duration:2,animation:"active"})]),a[12]||(a[12]=e("span",{class:"regular-text-desc ml-[-6px] md:pb-[3px] uppercase","data-animate":"opacity"},"мин.",-1))]),a[13]||(a[13]=e("div",{class:"smallest-text pb-[8px] | max-md:pt-[3px]","data-animate":"opacity"},"до метро «Октябрьское поле»",-1)),e("img",{class:"w-[24px] h-[24px]",src:Y(lt),alt:""},null,8,fa)])])]),e("div",ha,[$(ut,{class:"size-full max-md:w-auto",animation:"scale",size:"1.1",repeat:!1},{default:X(()=>a[16]||(a[16]=[e("div",{class:"size-full"},[e("picture",null,[e("source",{media:"(max-width: 767px)",type:"image/webp",srcset:Xt}),e("source",{media:"(max-width: 767px)",type:"image/jpg",srcset:qt}),e("source",{media:"(min-width: 768px)",type:"image/webp",srcset:Ut}),e("img",{class:"size-full object-cover",src:gt,alt:""})])],-1)])),_:1,__:[16]})])]),e("div",va,[e("div",ga,[$(n,{"slide-height":"w-full md:h-[560px] max-md:h-[360px]",data:Y(b)},null,8,["data"])]),e("div",ba,[a[21]||(a[21]=e("div",{class:"h2","data-animate":"lines"},"УДОБНЫЙ ВЫЕЗД",-1)),a[22]||(a[22]=e("div",{class:"upper-text-2 md:my-[32px] | max-md:mt-[22px]","data-animate":"lines"},"НА ЛЕНИНГРАДСКИЙ ПРОСПЕКТ",-1)),a[23]||(a[23]=e("div",{class:"small-text-2 | max-md:mt-[18px]","data-animate":"opacity"}," Скоростной Ленинградский проспект — рядом, а до ММДЦ «Москва-Сити» спокойно можно доехать за 15 минут. ",-1)),e("div",ya,[e("div",wa,[e("div",_a,[e("span",Ca,[$(Be,{start:0,end:6,duration:2,animation:"active"})]),a[17]||(a[17]=e("span",{class:"regular-text-desc md:pl-[2px] md:pb-[3px] uppercase","data-animate":"opacity"},"мин.",-1))]),a[18]||(a[18]=e("div",{class:"smallest-text pb-[8px] | max-md:pt-[3px]","data-animate":"opacity"},"до Ленинградского проспекта",-1)),e("img",{class:"w-[24px] h-[24px]",src:Y(it),alt:"","data-animate":"opacity"},null,8,ka)]),e("div",Ma,[e("div",La,[e("span",za,[$(Be,{start:0,end:15,duration:3,animation:"active"})]),a[19]||(a[19]=e("span",{class:"regular-text-desc pl-[2px] pb-[3px] uppercase","data-animate":"opacity"},"мин.",-1))]),a[20]||(a[20]=e("div",{class:"smallest-text pb-[8px]","data-animate":"opacity"},"до ММДЦ «Москва-Сити»",-1)),e("img",{class:"w-[24px] h-[24px]",src:Y(it),alt:"","data-animate":"opacity"},null,8,$a)])])])])])}}},bt=()=>{const y=C(""),k={color:"black",scale:1,width:44,height:64,useCustomMarker:!0,disableBalloon:!0,hoverScale:1.1,marker:"/i/homepage/map_pin--drop.svg"},D=(u,l=null)=>{const{marker:i,scale:v,width:S,height:a,hoverScale:n}=k,x=`<img src="${u.marker||i}" alt="${u.title}" style="width: ${S}px; height: ${a}px; object-fit: contain;" />`,s=document.createElement("div");return s.innerHTML=x,s.style.cssText=`
2        cursor: pointer;
3        width: ${S}px;
4        height: ${a}px;
5        transition: transform 0.2s ease;
6        transform-origin: 50% 100%;
7        position: relative;
8        z-index: 100;
9        margin-left: -${S/2*v}px;
10        margin-top: -${a*v}px;
11    `,s.addEventListener("mouseenter",()=>{s.style.transform=`scale(${n})`,s.style.zIndex="1000"}),s.addEventListener("mouseleave",()=>{s.style.transform="scale(1)",s.style.zIndex="100"}),l&&typeof l=="function"&&s.addEventListener("click",O=>{O.stopPropagation(),O.preventDefault(),l(u,O)}),s},o=async(u,l=null)=>{if(!u)return y.value="Контакт не передан",null;if(!u.coordinates||!Array.isArray(u.coordinates)||u.coordinates.length!==2)return y.value="Неверные координаты контакта",null;if(!window.ymaps3)return y.value="ymaps3 не готов",null;try{if(k.useCustomMarker){const{YMapMarker:i}=window.ymaps3,v=D(u,l);return new i({coordinates:u.coordinates,draggable:!1,popup:k.disableBalloon?null:{content:`
12                <div style="padding: 10px;">
13                    <h3>${u.title||"Контакт"}</h3>
14                    ${u.description?`<p>${u.description}</p>`:""}
15                </div>
16              `}},v)}else{const{YMapDefaultMarker:i}=await window.ymaps3.import("@yandex/[email protected]"),v=new i({coordinates:u.coordinates,title:k.disableBalloon?"":u.title||"Контакт",subtitle:k.disableBalloon?"":u.description||"",color:k.color,size:"normal",iconName:"fallback"});return l&&typeof l=="function"&&v.addChild(new window.ymaps3.YMapListener({layer:"any",onClick:()=>{l(u)}})),v}}catch(i){y.value="Ошибка создания маркера: "+i.message;try{const{YMapDefaultMarker:v}=await window.ymaps3.import("@yandex/[email protected]");return new v({coordinates:u.coordinates,title:"Контакт",color:"red",size:"normal",iconName:"fallback"})}catch{return y.value="Критическая ошибка создания маркера",null}}};return{createContactMarker:o,createContactMarkers:async(u,l=null)=>{if(!Array.isArray(u))return y.value="Контакты должны быть массивом",[];const i=[];for(const[v,S]of u.entries()){const a=await o(S,l);a&&i.push(a)}return i}
16,calculateMapBounds:u=>{if(!Array.isArray(u)||u.length===0)return null;const l=u.filter(Z=>Z.coordinates&&Array.isArray(Z.coordinates)&&Z.coordinates.length===2);if(l.length===0)return null;if(l.length===1)return{center:l[0].coordinates,zoom:15};const i=l.map(Z=>Z.coordinates),v=Math.min(...i.map(Z=>Z[0])),S=Math.max(...i.map(Z=>Z[0])),a=Math.min(...i.map(Z=>Z[1])),n=Math.max(...i.map(Z=>Z[1])),x=(v+S)/2,s=(a+n)/2,O=S-v,P=n-a,W=Math.max(O,P);let G=12;return W>.1?G=10:W>.05?G=12:W>.01?G=14:G=16,{center:[x,s],zoom:G}},isYandexMapsReady:()=>typeof window<"u"&&window.ymaps3,lastError:at(y),markerConfig:at(k)}},Sa=["disabled"],Pa=["disabled"],Ta={__name:"WithPoints",props:{center:{type:Array,default:()=>[37.573856,55.751574]},zoom:{type:Number,default:16},theme:{type:String,default:"light"},lang:{type:String,default:"ru_RU"},points:{type:Array,default:()=>[]},bldPoint:{type:Object,default:()=>null},showHint:{type:Boolean,default:!0},enableClustering:{type:Boolean,default:!1},clusterOptions:{type:Object,default:()=>({gridSize:64,maxZoom:15})}},emits:["mapReady","mapClick","mapError","pointClick","zoomChange","hideHint"],setup(y,{expose:k,emit:D}){const o=y,b=D,j=C(null),F=C(null),u=C(null),l=C(o.zoom);let i=null,v=null,S=null,a=null,n=null;const x=C([]),s=C(null),O=C(!1);let P=null,W=null;const{createContactMarker:G}=bt(),{isMobile:Z,isTablet:Me,isDesktop:Te,isTouchDevice:le}=Oe();let he=1;const me=new WeakMap,ve=t=>{if(t&&typeof t.id<"u"&&t.id!==null)return String(t.id);const d=me.get(t);if(d)return d;const p=(Array.isArray(t==null?void 0:t.coordinates)?t.coordinates.join(","):"nc")+"|"+((t==null?void 0:t.text)||"")+"|"+((t==null?void 0:t.color)||"");let g=0;for(let _=0;_<p.length;_++)g=(g<<5)-g+p.charCodeAt(_),g|=0;const h=`p_${Math.abs(g)}_${he++}`;return me.set(t,h),h},ne=t=>t.filter(d=>Array.isArray(d.coordinates)&&d.coordinates.length===2).map(d=>({type:"Feature",id:ve(d),geometry:{coordinates:d.coordinates},properties:{originalData:d}})),ge=t=>{if(i&&i.setLocation)try{const d=i.center||o.center;i.setLocation({center:d,zoom:t,duration:300})}catch{}},ie=()=>{const t=Math.min(l.value+1,18);t!==l.value&&(l.value=t,ge(t),b("zoomChange",t))},be=()=>{const t=Math.max(l.value-1,1);t!==l.value&&(l.value=t,ge(t),b("zoomChange",t))};se(()=>o.zoom,t=>{t!==l.value&&(l.value=t)},{immediate:!0});const Le=(t,d)=>{if(!v)return null;const p=document.createElement("div");p.className="cluster-marker",p.style.cssText=`
17    width: 48px; height: 48px; border-radius: 50%;
18    background: white;
19    border: 3px solid white; display: flex; align-items: center; justify-content: center;
20    color: #3b424b; font-weight: normal; font-size: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.2);
21    cursor: pointer; transition: transform .2s ease; margin: -24px 0 0 -24px; user-select: none;
22    -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
23  `;const g=document.createElement("span");g.textContent=String(d.length),p.appendChild(g);const h=I=>{I.stopPropagation(),I.preventDefault();const V=l.value+2;i.setLocation({center:t,zoom:V,duration:300}),l.value=V};p.addEventListener("mouseenter",()=>{p.style.transform="scale(1.1)"}),p.addEventListener("mouseleave",()=>{p.style.transform="scale(1)"}),p.addEventListener("click",h);const{YMapMarker:_}=v;return new _({coordinates:t,draggable:!1},p)},ye=t=>{if(!v)return null;const d=t.properties.originalData,p=t.id,g=document.createElement("div");g.className="map-point-container",g.style.cssText=`
24    position: relative; width: 24px; height: 24px; cursor: pointer; margin: -12px 0 0 -12px;
25    touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
26  `;const h=document.createElement("div");h.className="map-point",h.style.cssText=`
27    width: 24px; height: 24px; border-radius: 50%; border: 6px solid white; transition: border-width .2s ease;
28    background-color: ${d.color||"black"}; position: relative; z-index: 1;
29  `;let _=null;d.text&&d.text.trim()&&(_=document.createElement("div"),_.className="map-point-bubble",_.textContent=d.text,_.style.cssText=`
30      position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%);
31      padding: 8px 16px; border-radius: 4px; background: #FFF; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
32      display: none; z-index: 10000; font-size: 12px; color: #333; pointer-events: none; user-select: none;
33      width: max-content; max-width: 200px;
34    `,g.appendChild(_)),g.appendChild(h);const I=()=>{h.style.borderWidth="2px",h.style.boxSizing="border-box",_&&(_.style.display="block")},V=()=>{h.style.borderWidth="6px",s.value!==p&&_&&(_.style.display="none")},R=te=>{te.stopPropagation(),te.preventDefault();const z=F.value;if(z&&z.querySelectorAll(".map-point-container").forEach(E=>E.classList.remove("active")),s.value!==null&&s.value!==p){const E=z==null?void 0:z.querySelectorAll(".map-point-bubble");
34E==null||E.forEach(K=>{K!==_&&(K.style.display="none")})}_&&(s.value===p?(_.style.display="none",s.value=null,g.classList.remove("active")):(g.classList.add("active"),_.style.display="block",s.value=p)),b("pointClick",d,p)};if(!le.value)g.addEventListener("mouseenter",I),g.addEventListener("mouseleave",V),g.addEventListener("click",R);else{let te=0,z=0,E=0,K=!1,T=null;const ue=A=>{A.preventDefault(),A.stopPropagation(),te=Date.now();const U=A.touches[0];z=U.clientX,E=U.clientY,K=!1,h.style.borderWidth="2px",h.style.boxSizing="border-box",T=setTimeout(()=>{K||R(A)},150)},pe=A=>{if(!A.touches[0])return;const U=A.touches[0],xe=Math.abs(U.clientX-z),Ce=Math.abs(U.clientY-E);(xe>10||Ce>10)&&(K=!0,T&&(clearTimeout(T),T=null),h.style.borderWidth="6px")},ze=A=>{A.preventDefault(),A.stopPropagation(),T&&(clearTimeout(T),T=null),s.value!==p&&(h.style.borderWidth="6px");const U=Date.now()-te;!K&&U<200&&R(A)},$e=()=>{T&&(clearTimeout(T),T=null),h.style.borderWidth="6px",K=!1};g.addEventListener("touchstart",ue,{passive:!1}),g.addEventListener("touchmove",pe,{passive:!1}),g.addEventListener("touchend",ze,{passive:!1}),g.addEventListener("touchcancel",$e,{passive:!1})}const{YMapMarker:ae}=v;return new ae({coordinates:t.geometry.coordinates,draggable:!1},g)},we=async(t,d)=>{if(!i||!v)return null;const p=document.createElement("div");p.className="map-point-container",p.style.cssText=`
35    position: relative; width: 24px; height: 24px; cursor: pointer; margin: -12px 0 0 -12px;
36    touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
37  `;const g=document.createElement("div");g.className="map-point",g.style.cssText=`
38    width: 24px; height: 24px; border-radius: 50%; border: 6px solid white; transition: border-width .2s ease;
39    background-color: ${t.color||"black"}; position: relative; z-index: 1;
40  `;let h=null;t.text&&t.text.trim()&&(h=document.createElement("div"),h.className="map-point-bubble",h.textContent=t.text,h.style.cssText=`
41      position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%);
42      padding: 8px 16px; border-radius: 4px; background: #FFF; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
43      display: none; z-index: 10000; font-size: 12px; color: #333; pointer-events: none; user-select: none;
44      width: max-content; max-width: 200px;
45    `,p.appendChild(h)),p.appendChild(g);const _=()=>{g.style.borderWidth="2px",g.style.boxSizing="border-box",h&&(h.style.display="block")},I=()=>{g.style.borderWidth="6px",s.value!==d&&h&&(h.style.display="none")},V=te=>{te.stopPropagation(),te.preventDefault();const z=F.value;if(z&&z.querySelectorAll(".map-point-container").forEach(E=>E.classList.remove("active")),s.value!==null&&s.value!==d){const E=x.value[s.value];E!=null&&E.bubble&&(E.bubble.style.display="none")}h&&(s.value===d?(h.style.display="none",s.value=null,p.classList.remove("active")):(p.classList.add("active"),h.style.display="block",s.value=d)),b("pointClick",t,d)};if(!le.value)p.addEventListener("mouseenter",_),p.addEventListener("mouseleave",I),p.addEventListener("click",V);else{let te=0,z=0,E=0,K=!1,T=null;const ue=A=>{A.preventDefault(),A.stopPropagation(),te=Date.now();const U=A.touches[0];z=U.clientX,E=U.clientY,K=!1,g.style.borderWidth="2px",g.style.boxSizing="border-box",T=setTimeout(()=>{K||V(A)},150)},pe=A=>{if(!A.touches[0])return;const U=A.touches[0],xe=Math.abs(U.clientX-z),Ce=Math.abs(U.clientY-E);(xe>10||Ce>10)&&(K=!0,T&&(clearTimeout(T),T=null),g.style.borderWidth="6px")},ze=A=>{A.preventDefault(),A.stopPropagation(),T&&(clearTimeout(T),T=null),s.value!==d&&(g.style.borderWidth="6px");const U=Date.now()-te;!K&&U<200&&V(A)},$e=()=>{T&&(clearTimeout(T),T=null),g.style.borderWidth="6px",K=!1};p.addEventListener("touchstart",ue,{passive:!1}),p.addEventListener("touchmove",pe,{passive:!1}),p.addEventListener("touchend",ze,{passive:!1}),p.addEventListener("touchcancel",$e,{passive:!1})}const{YMapMarker:R}=v,ae=new R({coordinates:t.coordinates,draggable:!1},p);return i.addChild(ae),{marker:ae,element:g,bubble:h,container:p,cleanup:()=>{p.removeEventListener("mouseenter",_),p.removeEventListener("mouseleave",I),p.removeEventListener("click",V),p.removeEventListener("touchend",V)}}},De=()=>{var d;let t=null;return(d=j.value)!=null&&d.getClusteringModule&&(t=j.value.getClusteringModule(
45)),t||(window.ymaps3Clusterer?t=window.ymaps3Clusterer:window.YMapClusterer&&window.clusterByGrid&&(t={YMapClusterer:window.YMapClusterer,clusterByGrid:window.clusterByGrid})),t},ce=()=>{if(n&&i)try{i.removeChild(n)}catch{}n=null},r=async()=>{if(!i||!v||!o.enableClustering)return;ce();const t=De();if(!t||(S=t.YMapClusterer||t.Clusterer,a=t.clusterByGrid||t.ClusterByGrid,!S||!a))return;const d=ne(o.points);n=new S({method:a({gridSize:o.clusterOptions.gridSize}),features:d,marker:ye,cluster:Le,maxZoom:o.clusterOptions.maxZoom}),i.addChild(n)},c=async()=>{if(!o.enableClustering||!n)return;const t=ne(o.points);n.update({features:[]}),await Re(),n.update({features:t})},w=async()=>{if(!(!i||!v)){if(clearTimeout(W),o.enableClustering&&n)await c();else if(!o.enableClustering){x.value.forEach((t,d)=>{var p;try{t.cleanup&&t.cleanup(),(p=t.container)!=null&&p.parentNode&&t.container.parentNode.removeChild(t.container),i.removeChild(t.marker),t.marker.destroy&&t.marker.destroy()}catch{}}),x.value=[],s.value=null;for(let t=0;t<o.points.length;t++){const d=await we(o.points[t],t);d&&x.value.push(d)}}if(await Re(),W=setTimeout(()=>{try{L(o.points)}catch{}},200),!O.value&&o.bldPoint&&G){O.value=!0;try{P=await G(o.bldPoint),P&&i.addChild(P)}catch{}}}},L=async(t,d=0,p=2)=>{var _,I,V;if(!i)return;const g=JSON.stringify(t.map(R=>R.coordinates))+JSON.stringify((_=o.bldPoint)==null?void 0:_.coordinates);if(L._lastKey===g)return;L._lastKey=g;const h=[];if(t.forEach(R=>{if(R.coordinates&&R.coordinates.length===2){const ae=[R.coordinates[0],R.coordinates[1]];h.push(ae)}}),((V=(I=o.bldPoint)==null?void 0:I.coordinates)==null?void 0:V.length)===2&&h.push([o.bldPoint.coordinates[0],o.bldPoint.coordinates[1]]),!h.length){const R=o.center;i.setLocation({center:R,zoom:l.value,duration:300});return}if(h.length===1){const R=h[0];i.setLocation({center:R,zoom:l.value,duration:300});return}try{const R=F.value.getBoundingClientRect(),ae=window.innerWidth,te=window.innerHeight;let z,E;Z.value&&!Me.value?(z={marginLeft:30,marginRight:30,marginTop:80,marginBottom:120},E=!1):Me.value?(z={marginLeft:R.width>ae?200:60,marginRight:60,marginTop:100,marginBottom:140},E=R.width>ae):(z={marginLeft:650,marginRight:200,marginTop:120,marginBottom:180},E=R.width>ae);let K=h[0][0],T=h[0][0],ue=h[0][1],pe=h[0][1];h.forEach(([re,He])=>{K=Math.min(K,re),T=Math.max(T,re),ue=Math.min(ue,He),pe=Math.max(pe,He)});const ze=(K+T)/2,$e=(ue+pe)/2,A=T-K,U=pe-ue;let xe,Ce;E?(xe=ae-z.marginLeft-z.marginRight,Ce=R.height-z.marginTop-z.marginBottom):(xe=R.width-z.marginLeft-z.marginRight,Ce=R.height-z.marginTop-z.marginBottom);let je=10;for(let re=18;re>=1;re--){const He=360/(256*Math.pow(2,re)),Ne=180/(256*Math.pow(2,re)),Ye=A/He,Fe=U/Ne;if(Ye<=xe&&Fe<=Ce){je=re;break}}let Ze,Ie;if(E){const re=z.marginLeft+xe/2,Ne=R.width/2-re,Ye=360/(256*Math.pow(2,je)),Fe=Ne*Ye;Ze=ze+Fe,Ie=$e}else Ze=ze,Ie=$e;i.setLocation({center:[Ze,Ie],zoom:je,duration:300}),l.value=je}catch{const ae=h.reduce((z,E)=>z+E[0],0)/h.length,te=h.reduce((z,E)=>z+E[1],0)/h.length;i.setLocation({center:[ae,te],zoom:Math.max(1,l.value-1),duration:300})}},M=async t=>{i=t,v=window.ymaps3,l.value=o.zoom,o.enableClustering&&await r(),await Re(),await w(),b("mapReady",t)};se(()=>o.points,()=>w(),{deep:!0}),se(()=>o.enableClustering,async t=>{i&&(t?await r():(ce(),await w()))}),se(()=>o.clusterOptions,async()=>{i&&o.enableClustering&&(await r(),await c())},{deep:!0});const J=t=>{if(s.value!==null){const d=x.value[s.value];d!=null&&d.bubble&&(d.bubble.style.display="none"),s.value=null}b("mapClick",t)},q=t=>b("mapError",t),oe=()=>b("hideHint"),_e=(t,d)=>{var p;return d!==void 0&&(l.value=d),(p=j.value)==null?void 0:p.setLocation(t,d||l.value)},m=()=>{var t;return(t=j.value)==null?void 0:t.getMap()},f=t=>{const d=Math.max(1,Math.min(18,t));l.value=d,ge(d),b("zoomChange",d)},ee=()=>l.value;return tt(()=>{L._lastKey=null,ce(),x.value.forEach(t=>{var d;try{t.cleanup&&t.cleanup(),(d=t.container)!=null&&d.parentNode&&t.container.parentNode.removeChild(t.container),i&&t.marker&&(i.removeChild(t.marker),t.marker.destroy&&t.marker.destroy())}catch{}}),x.value=[]}),k({setLocation:_e,getMap:m,updatePoints:w,fitMapToPoints:L,zoomIn:ie,zoomOut:be,setZoom:f,getCurrentZoom:ee}),(t,d)=>(H(),B("div",{ref_key:"yandexMapContainer",ref:F,class:"map-with-points-container"},[$(Ot,{ref_key:"yandexMapRef",ref:j,center:y.center,zoom:l.value,theme:y.theme,lang:y.lang,"show-
45hint":y.showHint,"enable-clustering":y.enableClustering,"force-init":!0,onMapReady:M,onMapClick:J,onMapError:q,onHideHint:oe},null,8,["center","zoom","theme","lang","show-hint","enable-clustering"]),e("div",{ref_key:"zoomRef",ref:u,class:"map-zoom absolute left-[95vw] top-1/2 -translate-y-1/2 z-10 flex flex-col gap-2 | max-md:left-[unset] max-md:right-[20px]"},[e("button",{onClick:ie,"data-map-zoom":"plus",class:"zoom-btn w-[48px] h-[48px] relative mb-[4px] | max-md:w-[40px] max-md:h-[40px]",disabled:l.value>=18},d[0]||(d[0]=[e("svg",{class:"size-full text-white"},[e("use",{"xlink:href":"#icon-octagon-filled"})],-1),e("svg",{class:"zoom-btn--icon text-[#3B424B] w-[25px] h-[25px] absolute z-10 top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 | max-md:w-[19px] max-md:h-[19px]"},[e("use",{"xlink:href":"#icon-plus"})],-1)]),8,Sa),e("button",{onClick:be,"data-map-zoom":"minus",class:"zoom-btn w-[48px] h-[48px] relative | max-md:w-[40px] max-md:h-[40px]",disabled:l.value<=1},d[1]||(d[1]=[e("svg",{class:"size-full text-white"},[e("use",{"xlink:href":"#icon-octagon-filled"})],-1),e("svg",{class:"zoom-btn--icon text-[#3B424B] w-[25px] h-[25px] absolute z-10 top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 | max-md:w-[19px] max-md:h-[19px]"},[e("use",{"xlink:href":"#icon-minus"})],-1)]),8,Pa)],512)],512))}},Ha=dt(Ta,[["__scopeId","data-v-f609721b"]]),Ra={class:"relative size-full map-wrapper"},Aa={__name:"WithRoutes",props:{iconSrc:{type:String,default:"/i/homepage/map_pin--drop.svg"},overlay:{type:Boolean,default:!1},center:{type:Array,default:()=>[55.788279,37.503115]},zoom:{type:Number,default:10},theme:{type:String,default:"light"},lang:{type:String,default:"ru_RU"},bldPoint:{type:Object,default:()=>null},selectedRoute:{type:Object,default:()=>null}},emits:["mapReady","mapClick","mapError","routeBuilt","routeError","routeCleared"],setup(y,{expose:k,emit:D}){const o=y,b=D,{isDesktop:j,isTablet:F,isMobile:u,isReady:l}=Oe(),i=C(null),v=C(null),S=`ymap-${Math.random().toString(36).substr(2,9)}`,a=C(!1);let n=null,x=null,s=null,O={},P=!1;bt();const W={driving:"#EE642D",walking:"#EE642D",transit:"#FF9800",straight:"#FF5722"},G=r=>{if(!Array.isArray(r)||r.length!==2)return[55.787627,37.502484];const[c,w]=r.map(Number);return isNaN(c)||isNaN(w)?[55.787627,37.502484]:Math.abs(c)>90?[w,c]:[c,w]},Z=()=>{var r;return(r=o.bldPoint)!=null&&r.coordinates?G(o.bldPoint.coordinates):G(o.center)},Me=r=>{if(!r||typeof r!="string")return"pedestrian";const c=r.toLowerCase();return c.includes("пешком")||c.includes("пеший")||c.includes("walk")?"pedestrian":c.includes("автомобиль")||c.includes("машин")||c.includes("авто")||c.includes("car")?"auto":c.includes("общественный")||c.includes("транспорт")||c.includes("transit")?"masstransit":"pedestrian"},Te=r=>{switch(r){case"auto":return W.driving;case"pedestrian":return W.walking;case"masstransit":return W.transit;default:return W.walking}},le=async(r,c="pedestrian")=>{if(!(!n||!x||!P))try{ne();let w=[150,620];u.value&&(w=[80,80]);const L=Z(),M=G(r),J=`route_${Date.now()}`,q=new x.multiRouter.MultiRoute({referencePoints:[L,M],params:{results:1,routingMode:c}},{boundsAutoApply:!0,zoomMargin:w,routeStrokeColor:Te(c),routeStrokeOpacity:1,routeStrokeWidth:5,routeActiveStrokeColor:Te(c),routeActiveStrokeWidth:6,wayPointFinishIconLayout:"none",wayPointStartIconLayout:"none",routeOpenBalloonOnClick:!1,routeActiveMarkerVisible:!1});O[J]=q,n.geoObjects.add(q),await he(L,M,c),q.model.events.add("requestsuccess",()=>{a.value=!0;const oe=q.getActiveRoute();if(oe){const _e=oe.properties.get("distance"),m=oe.properties.get("duration");b("routeBuilt",{distance:(_e==null?void 0:_e.text)||"N/A",duration:(m==null?void 0:m.text)||"N/A",routeType:c})}}),q.model.events.add("requesterror",oe=>{b("routeError",oe),me(L,M,c)})}catch(w){b("routeError",w);try{const L=Z(),M=G(r);await me(L,M,c)}catch{}}},he=async(r,c,w)=>{if(!n||!x)return;const L=new x.Placemark(r,{},{iconLayout:"default#image",iconImageHref:ve("",W.straight),iconImageSize:[12,12],iconImageOffset:[-6,-6]}),M=new x.Placemark(c,{},{iconLayout:"default#image",iconImageHref:ve("B",W.straight),iconImageSize:[36,36],iconImageOffset:[-18,-18]});n.geoObjects.add(L),n.geoObjects.add(M);const J=`markers_${Date.now()}`;O[J]={startMarker:L,endMarker:M,remove:()=>{n.geoObjects.remove(L),n.geoObjects.remove(M)}}},me=(r,c,w)=>{if(!n||!x)return;const L=W.straight,M=new x.Polyline([r,c],{hintContent:"Прямое расстояние"},{strokeColor:L,strokeWidth:5,strokeOpacity:.8,strokeStyle:"8 4"});n.geoObjects.add(M),he(r,c);const J=`straight_${Date.now()}`;O[J]={polyline:M,remove:()=>{n.geoObjects.remove(M)}},n.setBounds([r,c],{checkZoomRange:!0,zoomMargin:[50,50,50,50]}),a.value=!0,b("routeBuilt",{distance:"Прямое расстояние",duration:"N/A",routeType:"straight"})},ve=(r,c)=>{const w=`
46    <svg width="36" height="36" xmlns="http://www.w3.org/2000/svg">
47      <circle cx="18" cy="18" r="8" fill="${c}" stroke="white" stroke-width="8"/>
48      <text x="18" y="24" font-family="Arial, sans-serif" font-size="16" font-weight="bold"
49            fill="white" text-anchor="middle"></text>
50    </svg>
51  `;return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(w)},ne=()=>{n&&(Object.values(O).forEach(r=>{r.remove?r.remove():n.geoObjects.remove(r)}),O={},a.value=!1)},ge=()=>{ne(),b("routeCleared")},ie=()=>{typeof window>"u"||!window.ymaps||(x=window.ymaps,x.ready(()=>{var r,c;if(i.value)try{let w;if((r=o.bldPoint)!=null&&r.coordinates?w=G(o.bldPoint.coordinates):w=G(o.center),n=new x.Map(i.value,{center:w,zoom:o.zoom,type:"yandex#map",controls:[]},{suppressMapOpenBlock:!0,searchControlProvider:"yandex#search"}),n.behaviors.disable(["scrollZoom","rightMouseButtonMagnifier"]),(c=o.bldPoint)!=null&&c.coordinates)try{const L=G(o.bldPoint.coordinates);if(o.iconSrc){const M=new Image;M.onload=()=>{const oe=[-22,-64];s=new x.Placemark(L,{hintContent:o.bldPoint.name||"Здание",balloonContent:o.bldPoint.description||"Основное здание"},{iconLayout:"default#image",iconImageHref:o.iconSrc,iconImageSize:[44,64],iconImageOffset:oe,hasBalloon:!1,hasHint:!1}),n.geoObjects.add(s)},M.src=o.iconSrc}else s=new x.Placemark(L,{hintContent:o.bldPoint.name||"Здание",balloonContent:o.bldPoint.description||"Основное здание"}
51,{preset:"islands#darkBlueDotIcon",iconColor:"#1e274a"}),n.geoObjects.add(s)}catch{}n.events.add("click",L=>{const M=L.get("coords");b("mapClick",M)}),be(n,v.value),setTimeout(()=>{const L=i.value;if(!L)return;const M=L.querySelector(".ymaps--1-79-copyright__link");M&&M.getAttribute("href")===""&&(M.setAttribute("href","https://yandex.ru/legal/maps_termsofuse/"),M.setAttribute("target","_blank"),M.setAttribute("rel","noopener noreferrer"))},1e3),P=!0,b("mapReady",n)}catch(w){b("mapError",w)}}))};function be(r,c){if(!c)return;const w=c.querySelector('[data-map-zoom="plus"]'),L=c.querySelector('[data-map-zoom="minus"]'),M=x.templateLayoutFactory.createClass(c,{build(){M.superclass.build.call(this),this.zoomInCallback=x.util.bind(this.zoomIn,this),this.zoomOutCallback=x.util.bind(this.zoomOut,this),w.addEventListener("click",this.zoomInCallback),L.addEventListener("click",this.zoomOutCallback)},clear(){w.removeEventListener("click",this.zoomInCallback),L.removeEventListener("click",this.zoomOutCallback),M.superclass.clear.call(this)},zoomIn(){const q=this.getData().control.getMap();q.setZoom(q.getZoom()+1,{checkZoomRange:!0})},zoomOut(){const q=this.getData().control.getMap();q.setZoom(q.getZoom()-1,{checkZoomRange:!0})}}),J=new x.control.ZoomControl({options:{layout:M}});r.controls.add(J)}const Le=()=>{if(typeof window<"u"&&window.ymaps){ie();return}if(typeof window>"u")return;const r=document.createElement("script");r.src="https://api-maps.yandex.ru/2.1/?apikey=e2696b53-ef3b-41d8-b34e-233514f30843&lang=ru_RU",r.defer=!0,r.onload=ie,r.onerror=()=>{b("mapError",new Error("Failed to load Yandex Maps API"))},document.head.appendChild(r)};return se(()=>o.selectedRoute,r=>{if(r!=null&&r.coordinates&&P){const c=Me(r.travel_type);le(r.coordinates,c)}else P&&ne()},{deep:!0}),se(()=>o.center,r=>{if(n&&r){const c=G(r);n.setCenter(c)}},{deep:!0}),se(()=>o.zoom,r=>{n&&r&&n.setZoom(r)}),se(()=>o.bldPoint,r=>{if(s&&n&&(n.geoObjects.remove(s),s=null),r!=null&&r.coordinates&&n&&x)try{const c=G(r.coordinates);if(o.iconSrc){const w=new Image;w.onload=()=>{const L=w.width,M=w.height,J=[-L/2,-M];s=new x.Placemark(c,{hintContent:r.name||"Здание",balloonContent:r.description||"Основное здание"},{iconLayout:"default#image",iconImageHref:o.iconSrc,iconImageSize:[L,M],iconImageOffset:J,hasBalloon:!1,hasHint:!1}),n.geoObjects.add(s)},w.src=o.iconSrc}else s=new x.Placemark(c,{hintContent:r.name||"Здание",balloonContent:r.description||"Основное здание"},{preset:"islands#darkBlueDotIcon",iconColor:"#1e274a"}),n.geoObjects.add(s);n.setCenter(c)}catch{}},{deep:!0}),et(()=>{Re(()=>{Le()})}),Mt(()=>{ne(),s&&n&&n.geoObjects.remove(s),n&&n.destroy()}),k({setLocation:(r,c)=>{if(n){if(r){const w=G(r);n.setCenter(w)}c&&n.setZoom(c)}},setTheme:r=>{},getMap:()=>n,buildRoute:le,clearRoute:ge,debugInfo:()=>({isMapReady:P,center:o.center,bldPoint:o.bldPoint,selectedRoute:o.selectedRoute,startPoint:Z(),multiRoutes:Object.keys(O),hasActiveRoute:a.value})}),(r,c)=>(H(),B("div",Ra,[e("div",{ref_key:"mapContainer",ref:i,id:S,class:"absolute inset-0 z-0 yandex-map"},null,512),e("div",{ref_key:"zoomRef",ref:v,class:"map-zoom absolute left-[95vw] top-1/2 -translate-y-1/2 z-10 flex flex-col gap-2 | max-md:left-[unset] max-md:right-[20px]"},c[0]||(c[0]=[Ue('<button data-map-zoom="plus" class="zoom-btn w-[48px] h-[48px] relative mb-[4px] | max-md:w-[40px] max-md:h-[40px]"><svg class="size-full text-white"><use xlink:href="#icon-octagon-filled"></use></svg><svg class="zoom-btn--icon text-[#3B424B] w-[25px] h-[25px] absolute z-10 top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 | max-md:w-[19px] max-md:h-[19px]"><use xlink:href="#icon-plus"></use></svg></button><button data-map-zoom="minus" class="zoom-btn w-[48px] h-[48px] relative | max-md:w-[40px] max-md:h-[40px]"><svg class="size-full text-white"><use xlink:href="#icon-octagon-filled"></use></svg><svg class="zoom-btn--icon text-[#3B424B] w-[25px] h-[25px] absolute z-10 top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 | max-md:w-[19px] max-md:h-[19px]"><use xlink:href="#icon-minus"></use></svg></button>',2)]),512)]))}},Da={class:"flex relative w-[140%] | max-md:w-full max-md:flex max-md:flex-col"},ja={key:0,class:"h-[100vh] w-full | max-md:h-[552px]"},Ba={key:1,class:"h-[100vh] w-full | max-md:h-[552px]"},Oa={class:"w-[1px] h-auto bg-[#D9D9D9]"},Za=["onKeydown"],Ia={class:"flex justify-center items-center"},Na={class:"category-count","aria-label":"Количество точек"},Ya=["onClick","onKeydown"],Fa={class:"flex justify-center items-center"},Wa={class:"category-count","aria-label":"Количество точек"},Ga=["onClick","onKeydown"],Va={class:"flex justify-center items-center"},Ka={class:"flex justify-center items-center"},Xa=["href"],qa={key:0,class:"py-8 text-center text-gray-500"},Ua={class:"hidden absolute bottom-[20px] left-[20px] right-[20px] w-auto z-10 | max-md:block"}
51,Ja={__name:"Infrastructure",props:{mapCenter:{type:Array,default:()=>[30.280157,59.923819]},mapZoom:{type:Number,default:12},mapTheme:{type:String,default:"light"},mapLang:{type:String,default:"ru_RU"},bldPoint:{type:Object,default:()=>({coordinates:[30.280157,59.923819],id:"bld1",title:"Здание",description:"Маркер здания"})},bldPointV2:{type:Object,default:()=>({coordinates:[55.788279,37.503115],id:"bld1",title:"Здание",description:"Маркер здания"})},pointGroups:{type:Array,default:()=>[{title:"Парки и скверы",points:[{coordinates:[30.295775,59.919674],text:"Парк 1"},{coordinates:[30.332912,59.943179],text:"Сквер 2"},{coordinates:[30.303995,59.932259],text:"Парк 3"},{coordinates:[30.299511,59.924952],text:"Парк 4"}]},{title:"Рестораны и кафе",points:[{coordinates:[30.340511,59.945112],text:"Ресторан 1"},{coordinates:[30.351123,59.948332],text:"Кафе 2"}]}]}},emits:["mapReady","mapClick","mapError","pointClick","groupChange","routeSelect"],async setup(y,{expose:k,emit:D}){let o,b;const j=y,F=D;C(null);const u=C(new Set),l=C(!0),i=C([]),v=C(null),S=C(null),a=C(!0),n=C("infrastru
51cture"),x=C(0),s=C(null),O=C(null),P=C(!1),W=C(!0),{isDesktop:G,isMobile:Z}=Oe(),Me=m=>{m.touches.length===2&&(W.value=!1,m.preventDefault())},Te=m=>{W.value=!1},le=()=>{P.value=!0},he=()=>{P.value=!1},me=C(!0),ve=m=>{m===x.value?P.value?he():le():(ne(m),he())},ne=m=>{m===0?(x.value=0,n.value="infrastructure"):m===1&&(x.value=1,n.value="routes",a.value=!1)},{apiBase:ge}=mt().public,{data:ie,pending:be,error:Le}=([o,b]=Ae(()=>Je(`${ge}/infrastructure/routes/12`,{key:"infrastructure-routes",lazy:!1,server:!0,headers:{Accept:"application/json","Content-Type":"application/json"}},"$jH6MnbG_Sc")),o=await o,b(),o);se([ie,be,Le],()=>{!be.value&&ie.value&&!Le.value&&(i.value=ie.value)},{immediate:!0});const ye=["#434D59","#50988C","#AE2214","#E7A834","#4984C8","#986450","#9F7FEB","#EDA5C2","#CBE37B","#78B6E3","#95C7CA"],we=Xe(()=>{if(l.value)return j.pointGroups.flatMap((m,f)=>m.points.map(ee=>({...ee,color:ye[f+1]||"black"})));{let m=[];return u.value.forEach(f=>{m=m.concat(j.pointGroups[f].points.map(ee=>({...ee,color:ye[f+1]||"black"})))}),m}}),De=m=>{if(!m)return"other";const f=m.toLowerCase();return f=="пешком"?"icon-map-walker":f.includes("автомобиль")||f.includes("машин")||f.includes("авто")?"icon-map-car":"other"},ce=(m,f)=>{v.value=v.value===f?null:f,v.value!==null?(S.value={...m,startPoint:j.bldPoint.coordinates},F("routeSelect",m,f)):S.value=null,Z.value&&le()},r=Xe(()=>j.pointGroups.reduce((m,f)=>m+f.points.length,0)),c=m=>{l.value&&(l.value=!1,u.value.clear()),u.value.has(m)?u.value.delete(m):u.value.add(m),u.value=new Set(u.value),F("groupChange",Array.from(u.value),we.value)},w=()=>{l.value?l.value=!1:(l.value=!0,u.value.clear()),F("groupChange",l.value?"all":[],we.value)},L=()=>{me.value===!0?(ce(i.value[0],0),x.value===1&&(me.value=!1)):P.value=!1},M=C(!0),J=m=>{F("mapClick",m)},q=m=>F("mapError",m),oe=(m,f)=>F("pointClick",m,f),_e=()=>{M.value=!1};return k({setMapLocation:(m,f)=>{var ee,t;n.value==="infrastructure"?(ee=s.value)==null||ee.setLocation(m,f):(t=O.value)==null||t.setLocation(m,f)},setMapTheme:m=>{var f,ee;(f=s.value)==null||f.setTheme(m),(ee=O.value)==null||ee.setTheme(m)},getMap:()=>{var m,f;return n.value==="infrastructure"?(m=s.value)==null?void 0:m.getMap():(f=O.value)==null?void 0:f.getMap()},getActiveGroups:()=>l.value?"all":Array.from(u.value),setActiveGroups:m=>{m==="all"?(l.value=!0,u.value.clear()):(l.value=!1,u.value=new Set(m))},getSelectedRoute:()=>v.value,setSelectedRoute:m=>v.value=m}),et(()=>{Z.value&&(P.value=!0,l.value=!1)}),(m,f)=>{const ee=Rt,t=Ht,d=Dt,p=At,g=jt,h=Bt;return H(),B("div",Da,[$(Ge,{name:"fade"},{default:X(()=>[W.value&&Y(Z)?(H(),B("div",{key:0,ref:"touchArea",class:"gesture-hint",onTouchstart:Me,onTouchend:Te},f[2]||(f[2]=[e("div",{class:"size-[36px] mb-[14px]"},[e("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("circle",{cx:"6",cy:"30",r:"6",fill:"white"},[e("animateTransform",{attributeName:"transform",type:"translate",values:"0,0; 12,-12; 0,0",dur:"2s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.4 0 0.6 1; 0.4 0 0.6 1",keyTimes:"0; 0.5; 1"}),e("animate",{attributeName:"r",values:"6; 8; 6",dur:"2s",repeatCount:"indefinite"})]),e("circle",{cx:"30",cy:"6",r:"6",fill:"white"},[e("animateTransform",{attributeName:"transform",type:"translate",values:"0,0; -12,12; 0,0",dur:"2s",repeatCount:"indefinite",calcMode:"spline",keySplines:"0.4 0 0.6 1; 0.4 0 0.6 1",keyTimes:"0; 0.5; 1"}),e("animate",{attributeName:"r",values:"6; 8; 6",dur:"2s",repeatCount:"indefinite"})])])],-1),e("span",null,[N("Управляйте картой "),e("br"),N(" двумя пальцами")],-1)]),544)):ke("",!0)]),_:1}),n.value==="infrastructure"?(H(),B("div",ja,[$(Ha,{ref_key:"infraMapRef",ref:s,center:y.mapCenter,zoom:y.mapZoom,theme:y.mapTheme,lang:y.mapLang,points:we.value,"bld-point":y.bldPoint,onMapClick:J,onMapError:q,onPointClick:oe,onHideHint:_e,showHint:M.value,"enable-clustering":!0},null,8,["center","zoom","theme","lang","points","bld-point","showHint"])])):ke("",!0),n.value==="routes"?(H(),B("div",Ba,[$(Aa,{ref_key:"routesMapRef",ref:O,center:y.mapCenter,zoom:y.mapZoom,theme:y.mapTheme,lang:y.mapLang,"bld-point":y.bldPointV2,"selected-route":S.value,onMapReady:L,onMapClick:J,onMapError:q},null,8,["center","zoom","theme","lang","bld-point","selected-route"])])):ke("",!0),$(g,{class:"absolute top-[32px] left-[80px] bg-white z-10 flex flex-col justify-center octagon_8 w-[420px] | max-md:bg-[unset] max-md:p-[0] max-md:top-[20px] max-md:left-[20px] max-md:right-[20px] max-md:w-auto"},{default:X(()=>[$(t,{class:de([{"hidden-body":P.value},"w-auto flex text-[16px] max-md:text-[12px] | mob_octagon_8 max-md:mb-[8px]"]),onChange:ne},{default:X(()=>[$(ee,{class:de(["mode-tab",{open:x.value===0&&!P.value,active:x.value===0&&we.value.length}]),index:0,onClick:f[0]||(f[0]=_=>ve(0))},{default:X(()=>f[3]||(f[3]=[N(" Инфраструктура ",-1),e("svg",null,[e("use",{"xlink:href":"#icon-triangle-with-offset"})],-1)])),_:1,__:[3]},8,["class"]),Ve(e("div",Oa,null,512),[[Ke,P.value]]),$(ee,{class:de(["mode-tab",{open:x.value===1&&!P.value,active:x.value===1}]),index:1,onClick:f[1]||(f[1]=_=>ve(1))},{default:X(()=>f[4]||(f[4]=[N(" Маршруты ",-1),e("svg",null,[e("use",{"xlink:href":"#icon-triangle-with-offset"})],-1)])),_:1,__:[4]},8,["class"])]),_:1},8,["class"]),Ve($(Ge,{name:"slide-up"},{default:X(()=>[$(p,{class:"text-[16px] pb-[34px] max-md:text-[14px] max-md:bg-white max-md-pb-[16px] max-md:pt-0 max-md:pb-0 mob_octagon_8"},{default:X(()=>[(H(),ot(d,{class:"w-full max-h-[432px] max-md:max-h-[350px] overflow-y-scroll max-md:px-[16px] pl-[24px] pr-[12px]",role:"list","aria-label":"Список инфраструктуры",key:0,"data-lenis-prevent":""},{default:X(()=>
51[e("div",{onClick:w,class:de(["map-tabs cursor-pointer py-3 border-b border-primary-grey flex items-center gap-2",{active:l.value}]),role:"listitem",tabindex:"0",onKeydown:[Ee(Se(w,["prevent"]),["enter"]),Ee(Se(w,["prevent"]),["space"])],"aria-checked":"allActive","aria-role":"checkbox"},[e("div",Ia,[e("div",{class:"category-dot",style:qe({backgroundColor:ye[0]}),"aria-hidden":"true"},null,4),f[5]||(f[5]=N(" Вся инфраструктура ",-1))]),f[6]||(f[6]=e("span",null,null,-1)),e("span",Na,Pe(r.value),1)],42,Za),(H(!0),B(Qe,null,st(y.pointGroups,(_,I)=>(H(),B("div",{key:I,onClick:V=>c(I),class:de(["map-tabs cursor-pointer py-3 border-b border-primary-grey flex items-center gap-2",{active:u.value.has(I)}]),role:"listitem",tabindex:"0",onKeydown:[Ee(Se(V=>c(I),["prevent"]),["enter"]),Ee(Se(V=>c(I),["prevent"]),["space"])],"aria-checked":"activeGroups.has(index)","aria-role":"checkbox"},[e("div",Fa,[e("div",{class:"category-dot",style:qe({backgroundColor:ye[I+1]}),"aria-hidden":"true"},null,4),N(" "+Pe(_.title),
511)]),e("span",Wa,Pe(_.points.length),1)],42,Ya))),128))]),_:1})),(H(),ot(d,{class:"w-full max-h-[432px] max-md:max-h-[350px] overflow-y-scroll max-md:px-[16px] pl-[24px] pr-[12px]",role:"list","aria-label":"Список маршрутов",key:1,"data-lenis-prevent":""},{default:X(()=>[(H(!0),B(Qe,null,st(i.value,(_,I)=>(H(),B("div",{key:I,onClick:V=>ce(_,I),class:de(["map-tabs map-tabs--route cursor-pointer py-3 border-b border-primary-grey flex items-center justify-between gap-3",{active:v.value===I}]),role:"listitem",tabindex:"0",onKeydown:[Ee(Se(V=>ce(_,I),["prevent"]),["enter"]),Ee(Se(V=>ce(_,I),["prevent"]),["space"])]},[e("div",Va,[f[7]||(f[7]=e("div",{class:"category-dot mr-[4px]","aria-hidden":"true"},null,-1)),N(" "+Pe(_.text),1)]),e("div",Ka,[e("span",null,Pe(`${_.time} мин`),1),(H(),B("svg",null,[e("use",{href:`#${De(_.travel_type)}`},null,8,Xa)]))])],42,Ga))),128)),!i.value||i.value.length===0?(H(),B("div",qa,f[8]||(f[8]=[e("p",null,"Маршруты не найдены",-1)]))):ke("",!0)]),_:1}))]),_:1})]),_:1},512),[[Ke,!P.value]])]),_:1}),$(Ge,{name:"slide-down"},{default:X(()=>[Ve(e("div",Ua,[$(h,{style:{"font-size":"12px"},type:"button",text:"Показать",transparent:!1,onClick:le})],512),[[Ke,!P.value&&x.value===0]])]),_:1})])}}},Qa=dt(Ja,[["__scopeId","data-v-441f588b"]]),eo={key:0,class:"w-full bg-[#858D98] h-[var(--app-height-dynamics)] text-[#434D59] overflow-hidden | max-md:h-[552px]"},to={__name:"map",async setup(y){let k,D;const o=C([]),b=C([]),{apiBase:j}=mt().public,{isDesktop:F,isTablet:u,isMobile:l,isReady:i}=Oe(),[{data:v,pending:S,error:a},{data:n,pending:x,error:s}]=([k,D]=Ae(()=>Promise.all([Je(`${j}/infrastructure/list/11`,{lazy:!1,server:!0,headers:{Accept:"application/json","Content-Type":"application/json"}},"$ZY7PoQA7pq"),Je(`${j}/infrastructure/routes/12`,{lazy:!1,server:!0,headers:{Accept:"application/json","Content-Type":"application/json"}},"$0RmEwKXpla")])),k=await k,D(),k);return se([v,S,a],()=>{!S.value&&v.value&&!a.value&&(o.value=v.value)},{immediate:!0}),se([n,x,s],()=>{!x.value&&n.value&&!s.value&&(b.value=n.value)},{immediate:!0}),(O,P)=>{const W=Qa;return Y(i)?(H(),B("section",eo,[$(W,{class:"flex max-md:flex max-md:flex-col","point-groups":Y(o),"bld-point":{coordinates:[37.503115,55.788279],id:"bld1",title:"Здание",description:"Маркер здания",marker:"/i/homepage/map_pin--drop.svg"},"map-center":[37.503115,55.788279],"map-zoom":16},null,8,["point-groups"])])):ke("",!0)}}},yt=Q("/i/location/mobile/[email protected]"),ao=Q("/i/location/[email protected]"),wt=Q("/i/location/mobile/[email protected]"),_t=Q("/i/location/[email protected]"),Ct=Q("/i/location/mobile/[email protected]"),kt=Q("/i/location/[email protected]"),oo=yt,so=yt,no=wt,ro=wt,lo=_t,io=Ct,co=Ct,mo=kt,uo={class:"w-full bg-[#858D98] text-white"},po={class:"relative z-0 md:pt-[120px] md:overflow-hidden"},xo={class:"overflow-hidden"},fo={class:"relative z-1 flex md:gap-[80px] md:pl-[80px] md:mt-[120px] | max-md:flex-col max-md:mt-[64px] overflow-hidden"},ho={class:"md:flex-[0_0_867px] md:w-[867px] md:h-[720px] | max-md:w-full max-md:h-[360px]"},vo={__name:"dynamic-location",async setup(y){let k,D;const{data:o}=([k,D]=Ae(()=>rt(31)),k=await k,D(),k),{data:b}=([k,D]=Ae(()=>rt(32)),k=await k,D(),k);fe("isMobile");const j=fe("isDesktop"),F=fe("isTablet"),u=fe("presetLayers"),l=C(null),i=C(null),v=C(null),{$eventBus:S}=ct();let a=null;const n=S.on("afterPreloaderHide",()=>{a=gsap.to(l.value,{opacity:1,scrollTrigger:{trigger:l.value,start:"top top",end:()=>window.innerHeight/2+"px",scrub:!0}})});return tt(()=>{var x;(x=a==null?void 0:a.scrollTrigger)==null||x.kill(),a==null||a.kill(),n==null||n()}),(x,s)=>{const O=Zt,P=Lt;return H(),B("section",uo,[e("div",{class:"h-[160vh] relative",ref_key:"firstImgEl",ref:v},s[0]||(s[0]=[e("picture",null,[e("source",{media:"(max-width: 699px)",type:"image/webp",srcset:oo}),e("source",{media:"(max-width: 699px)",type:"image/jpg",srcset:so}),e("img",{class:"sticky top-0 h-screen w-full object-cover object-center",src:ao,alt:""})],-1)]),512),e("div",{ref_key:"secondImgEl",ref:l,class:"relative h-[150vh] mt-[-150vh] opacity-0"},s[1]||(s[1]=[Ue('<picture><source media="(max-width: 699px)" type="image/webp" srcset="'+no+'"><source media="(max-width: 699px)" type="image/jpg" srcset="'+ro+'"><source media="(min-width: 700px)" type="image/webp" srcset="'+lo+'"><img class="sticky top-0 w-full h-screen object-cover" src="'+_t+'" alt=""></picture><div class="absolute left-0 bottom-0 w-full h-[30%] bg-gradient-to-b from-black/0 to-black/60"></div>',2)]),512),e("div",po,[$(P,null,{default:X(()=>
51[Y(j)||Y(F)?(H(),B("div",{key:0,ref_key:"BackgroundShardsSection1",ref:i,class:"absolute z-[-10] top-0 left-0 right-0 bottom-[-2152px]"},[$(O,{mode:"preset","preset-layers":Y(u),"trigger-element":i.value,"instance-id":"section-2"},null,8,["preset-layers","trigger-element"])],512)):ke("",!0)]),_:1}),s[4]||(s[4]=e("div",{class:"h1-small relative md:text-center md:px-[80px] | max-md:px-[20px] max-md:w-[80%] max-md:pb-[32px] max-md:mt-[-96px]","data-animate":"lines"},[N(" ДИНАМИЧНАЯ"),e("br"),N(" ЛОКАЦИЯ ")],-1)),e("div",xo,[s[3]||(s[3]=e("div",{class:"h2 md:px-[80px] md:mt-[120px] md:translate-x-[-7px] | max-md:px-[20px] max-md:pt-[64px]","data-animate":"opacity"},[N("Прогулки"),e("br",{class:"md:hidden"}),N(" и ПАРКИ")],-1)),$(nt,{reverse:"",class:"md:mt-[47px]","accordion-data":Y(o),"open-first-by-default":""},{default:X(()=>s[2]||(s[2]=[e("div",{class:"regular-text-small pb-32px","data-animate":"opacity"}," Локацию отличает обилие парковых зон, приватность с быстрым доступом к транспортным артериям. ",-1)])),_:1,__:[2]},8,["accordion-data"])])]),$(nt,{class:"md:mt-120px | max-md:mt-48px","image-styles":"h-560 flex-867","accordion-data":Y(b),"open-first-by-default":""},{default:X(()=>s[5]||(s[5]=[e("div",{class:"h2 pb-32px | max-md:pb-[20px]","data-animate":"lines"}," Спорт ",-1)])),_:1,__:[5]},8,["accordion-data"]),e("div",fo,[s[7]||(s[7]=Ue('<div class="md:flex flex-col md:flex-[0_0_413px] md:pt-[32px] | max-md:px-[20px] max-md:pb-[32px]"><div class="h2" data-animate="lines">ШОПИНГ</div><div class="upper-text mt-[32px] max-md:hidden" data-animate="lines">ТРЦ Авиапарк</div><div class="regular-text-small md:mt-[32px] | max-md:mt-[20px]" data-animate="opacity"> Крупнейший торгово-развлекательный центр Москвы и Европы, расположенный на Ходынском поле. </div><div data-animate="opacity" class="md:hidden upper-text border-t mt-[24px] pt-[20px]">ТРЦ Авиапарк</div><div class="mt-48px | max-md:mt-[32px]"><div class="flex items-end"><span class="special-text-2 | md:mb-[-2px] | max-md:mb-[-4px]"> 400 </span><span class="regular-text-desc uppercase pl-[9px] | max-md:pl-[5px]">тыс. м<sup>²</sup></span></div><div class="smallest-text pt-[3px]">общая площадь</div></div></div>',1)),e("div",ho,[$(ut,{class:"size-full max-md:w-auto",animation:"scale",size:"1.1",repeat:!1},{default:X(()=>s[6]||(s[6]=[e("div",{class:"size-full"},[e("picture",null,[e("source",{media:"(max-width: 767px)",type:"image/webp",srcset:io}),e("source",{media:"(max-width: 767px)",type:"image/jpg",srcset:co}),e("source",{media:"(min-width: 768px)",type:"image/webp",srcset:mo}),e("img",{class:"size-full object-cover",src:kt,alt:""})])],-1)])),_:1,__:[6]})])])])}}},go=pt,bo=xt,yo=xt,wo=ft,_o={key:0},Co={key:1,autoplay:"",muted:"",loop:"",playsinline:"",poster:It,class:"absolute size-full object-cover top-0 left-0"},Qo={__name:"index",setup(y){zt({title:"Расположение | Бизнес-центр АВИУМ",meta:[{name:"description",content:"Выберите офис в БЦ АВИУМ в 1-й минуте от МЦК Зорге. Уникальная локация. Быстрый выезд на Ленинградский проспект и Звенигородское шоссе."}]});const k=fe("isMobile"),D=fe("isTablet");return(o,b)=>(H(),B(Qe,null,[$($t,{title:"ЛОКАЦИЯ<br> ВЗЛЕТА",subtitle:"Расположение"},{background:X(()=>[Y(k)&&!Y(D)?(H(),B("picture",_o,b[0]||(b[0]=[e("source",{type:"image/webp",srcset:go},null,-1),e("img",{class:"size-full object-cover",src:pt,alt:""},null,-1)]))):(H(),B("video",Co,b[1]||(b[1]=[e("source",{src:Nt,type:"video/mp4"},null,-1)])))]),_:1}),$(Ea),$(to),$(vo),$(Et,{class:"bg-[#858D98] text-[#ffffff]"}),$(St,{title:"Архитектура и лобби",link:"/architecture/"},{background:X(()=>b[2]||(b[2]=[e("picture",null,[e("source",{media:"(max-width: 767px)",type:"image/webp",srcset:bo}),e("source",{media:"(max-width: 767px)",type:"image/jpg",srcset:yo}),e("source",{media:"(min-width: 768px)",type:"image/webp",srcset:wo}),e("img",{class:"size-full object-cover",src:ft,alt:""})],-1)])),_:1})],64))}};export{Qo as default};

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.