import{F as f,m as _,e as t,a3 as y,aH as h,bW as b,P as u,Q as r,W as n,R as a,_ as i,a1 as k,a2 as w,a0 as x,a6 as m,a7 as B,a8 as T,a9 as P}from"./vendor-d3O24IFR.js";import{K as V}from"./index-Bi4pIh8m.js";import{u as C}from"./useBreadcrumbs-DcbzYr3f.js";import{g as D}from"./block-mapping-BPCjfVLe.js";import{u as I}from"./useStaticPage-Cxvi10gm.js";const S={key:0,class:"mx-auto mt-7 w-full max-w-screen-2xl px-5 pb-5 md:px-12 lg:pb-10"},L=f({__name:"static-page",setup(A){const{staticPage:e}=I(),d=_(()=>t(e)?.settings?.name||t(e)?.settings?.header||""),g=C(()=>[{title:d.value}]),l=y(null),s=h(l),{title:c}=V(e.value?.settings?.seoInfo?.pageTitle||e.value?.settings?.name);return b({title:()=>s.value?c.value:void 0,description:()=>s.value?e.value?.settings?.seoInfo?.metaDescription:void 0,keywords:()=>s.value?e.value?.settings?.seoInfo?.metaKeywords:void 0,ogUrl:()=>s.value?window.location.toString():void 0,ogTitle:()=>s.value?c.value:void 0,ogDescription:()=>s.value?e.value?.settings?.seoInfo?.metaDescription:void 0,ogType:()=>s.value?"website":void 0}),(N,E)=>{const p=u("VcBreadcrumbs"),v=u("VcTypography");return t(e)?(a(),r("div",{key:0,ref_key:"staticPageAnchor",ref:l},[!t(e).settings?.hideBreadcrumbs||t(e).settings?.header?(a(),r("div",S,[t(e).settings?.hideBreadcrumbs?n("",!0):(a(),i(p,{key:0,class:"mb-3",items:t(g)},null,8,["items"])),t(e).settings?.header?(a(),i(v,{key:1,tag:"h1"},{default:k(()=>[w(x(t(e).settings.header),1)]),_:1})):n("",!0)])):n("",!0),(a(!0),r(m,null,B(t(e).content,o=>(a(),r(m,null,[o.hidden?n("",!0):(a(),i(P(t(D)(o.type)),T({key:o.id},{ref_for:!0},o,{model:o,settings:t(e).settings}),null,16,["model","settings"]))],64))),256))],512)):n("",!0)}}});export{L as _};
//# sourceMappingURL=static-page.vue_vue_type_script_setup_true_lang-BMGL1KBI.js.map
