1import{d as k,e as v,_ as p}from"./p7j0WGZt.js";import{_ as g}from"./x2i0Ks1Q.js";import{m as y,N as t,Q as s,a9 as n,$ as i,S as r,u as w,Z as x,I as b,j as N,p as M,M as a}from"./uOatmh1Q.js";/* empty css */const C={class:"office-card"},L={class:"office-card__main-info"},V={class:"office-card__main-info__title"},A={class:"office-title"},D={class:"office-location"},S={class:"location-badge"},B={class:"office-address"},O={class:"address-text"},H={key:0,class:"office-card__additional-info"},I={key:0,class:"office-address"},R={class:"address-text"},$={key:1,class:"delivery-info"},j={class:"delivery-note"},z={class:"card-footer"},E={key:0,class:"work-hours"},F={class:"work-hours-value"},G={class:"map-links"},Q={class:"map-links__maps"},U=["href"],W={key:1,class:"map-links__maps__divider"},Y=["href"],Z={class:"modal-content"},q=["src"],J=y({__name:"OfficeCard",props:{office:{}},setup(e){const d=e,f=k(),c=N(),u=M(()=>d.office.warehouseNote?d.office.warehouseNote.replace(/\n/g,"<br>"):"");function m(){c.value=!c.value}return(K,o)=>{const _=v,h=g;return a(),t(b,null,[s("div",C,[s("div",L,[s("div",V,[s("h3",A,n(e.office.name),1),s("div",D,[s("span",S,n(e.office.cityName),1)])]),s("div",B,[o[2]||(o[2]=s("p",{class:"address-label"},"ÐдÑÐµÑ Ð¾ÑиÑа:",-1)),s("p",O,n(e.office.officeAddress),1)])]),e.office.warehouseAddress?(a(),t("div",H,[e.office.warehouseAddress?(a(),t("div",I,[o[3]||(o[3]=s("p",{class:"address-label"},"ÐдÑÐµÑ Ñклада:",-1)),s("p",R,n(e.office.warehouseAddress),1)])):i("",!0),e.office.warehouseNote?(a(),t("div",$,[s("p",j,n(u.value),1)])):i("",!0),s("div",z,[e.office.openingHours?(a(),t("div",E,[o[4]||(o[4]=s("span",{class:"work-hours-label"},"ÐÑÐµÐ¼Ñ ÑабоÑÑ:",-1)),s("span",F,n(e.office.openingHours),1)])):i("",!0),s("div",G,[e.office.imgDirections?.src?(a(),t("span",{key:0,class:"map-link map-link-image",onClick:m},[r(_,{name:"route",size:16}),o[5]||(o[5]=s("span",null,"СÑ
ема пÑоезда",-1))])):i("",!0),s("div",Q,[e.office.googleMapLink?(a(),t("a",{key:0,href:e.office.googleMapLink,class:"map-link",target:"_blank",rel:"noopener noreferrer"}," Google каÑÑÑ ",8,U)):i("",!0),w(f).isMobile&&(e.office.googleMapLink||e.office.yandexMapLink)?(a(),t("span",W,"|")):i("",!0),e.office.yandexMapLink?(a(),t("a",{key:2,href:e.office.yandexMapLink,class:"map-link",target:"_blank",rel:"noopener noreferrer"}," Yandex каÑÑÑ ",8,Y)):i("",!0)])])])])):i("",!0)]),r(h,{"ignore-body-scroll":"",modelValue:c.value,"onUpdate:modelValue":o[0]||(o[0]=l=>c.value=l),width:"600",class:"error-modal",onClose:o[1]||(o[1]=l=>c.value=!1)},{default:x(()=>[s("div",Z,[e.office.imgDirections?.src?(a(),t("img",{key:0,src:e.office.imgDirections.src},null,8,q)):i("",!0)])]),_:1},8,["modelValue"])],64)}}}),se=p(J,[["__scopeId","data-v-33ab9b9d"]]);export{se 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.