1import{a8 as O,a as m,M as w,T as E,r as o,$ as F,aB as T,R as U,a1 as x,Z as B,l as c}from"./DvT-I3VU.js";import{u as g}from"./uJeXauwY.js";import{u as D}from"./CJEDCv1O.js";import{u as M,c as W}from"./BkqolHeE.js";const L=n=>g("/products",{query:n}),R=()=>g("/addresses"),j=async()=>{const n=O(),{getPageInfo:p,getBreadcrumb:v,slugPageInfo:e}=m(),f=p(w.CONTACT_US),d=o([]);d.value=v();const b=E(),A=o(b.$state),C=F(),a=o(C.$state),y=o("Contact"),t=o({products:[],addresses:[]}),{data:l}=await T("contact-us-data",async()=>{const N={page:1,perPage:9999,orderBy:"position",sortBy:"asc","filters[recommended]":!0},[r,u]=await Promise.all([L(N),R()]);return{products:r.data.value&&r.data.value.length>0?r.data.value:[],addresses:u.data.value&&u.data.value.length>0?u.data.value:[]}});l.value&&(t.value=l.value);const P=U();x(()=>{P.updatePreloading(!1)});const S=c(()=>a.value.formEnabled&&t.value.addresses.length===0),$=c(()=>!a.value.formEnabled&&t.value.addresses.length>0),h=c(()=>a.value.formEnabled&&t.value.addresses.length>0);D({title:()=>e.value?.metaTitleFront,description:()=>e.value?.metaDescriptionFront||e.value?.description,image:()=>e.value?.ogImage?.large});const{currentLocaleCode:I}=B(),{getPath:i,domain:s}=m();return n.runWithContext(()=>M([W({"@type":"WebPage","@id":`${s.value}${i({componentName:"ContactUs"})}#webpage`,name:e?.value?.metaTitleFront,url:`${s.value}${i({componentName:"ContactUs"})}`,description:a.value.fullAddress||"",inLanguage:I.value,about:{"@id":`${s.value}/#organization`},primaryImageOfPage:{"@id":`${s.value}/#logo`},isPartOf:{"@id":`${s.value}/#website`}})])),{pageInfo:f,breadcrumbItem:d,websiteInfo:A,contact:a,categoryEventName:y,dataAsync:t,isOnlyContactForm:S,isOnlyAddress:$,isContactFormAndAddress:h}};export{j as u}; 2//# sourceMappingURL=DkZ6xU5K.js.map
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.