import{F as f,aH as _,bW as h,P as u,Q as r,W as n,e as t,R as a,_ as i,a1 as y,a2 as b,a0 as k,a5 as m,a6 as w,a7 as x,a8 as B,ah as T,m as P}from"./vendor-Di1tOLi3.js";import{Q as V}from"./index-BrdDZgk2.js";import{u as C}from"./useBreadcrumbs-BjNgYg8O.js";import{g as D}from"./block-mapping-BPCjfVLe.js";import{u as I}from"./useStaticPage-CXLTNpm6.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"},K=f({__name:"static-page",setup(A){const{staticPage:e}=I(),d=P(()=>t(e)?.settings?.name||t(e)?.settings?.header||""),g=C(()=>[{title:d.value}]),l=T(null),s=_(l),{title:c}=V(e.value?.settings?.seoInfo?.pageTitle||e.value?.settings?.name);return h({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:y(()=>[b(k(t(e).settings.header),1)]),_:1})):n("",!0)])):n("",!0),(a(!0),r(m,null,w(t(e).content,o=>(a(),r(m,null,[o.hidden?n("",!0):(a(),i(B(t(D)(o.type)),x({key:o.id},{ref_for:!0},o,{model:o,settings:t(e).settings}),null,16,["model","settings"]))],64))),256))],512)):n("",!0)}}});export{K as _};
//# sourceMappingURL=static-page.vue_vue_type_script_setup_true_lang-D7GjQIwi.js.map
