import{M as f,E as y,e as t,F as _,aG as h,bV as b,N as r,a8 as n,R as i,V as k,P as u,Q as T,U as m,Z as V,Y as w,S as x,T as B,O as a}from"./vendor-CsGITfgk.js";import{K as P}from"./index-GCDRvGOr.js";import{u as C}from"./useBreadcrumbs-CLanN9FL.js";import{g as D}from"./block-mapping-BPCjfVLe.js";import{u as S}from"./useStaticPage-D0oZlZQH.js";const I={key:0,class:"mx-auto mt-7 w-full max-w-screen-2xl px-5 pb-5 md:px-12 lg:pb-10"},G=f({__name:"static-page",setup(N){const{staticPage:e}=S(),d=y(()=>t(e)?.settings?.name||t(e)?.settings?.header||""),g=C(()=>[{title:d.value}]),l=_(null),s=h(l),{title:c}=P(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}),(A,E)=>{const p=m("VcBreadcrumbs"),v=m("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",I,[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(()=>[V(w(t(e).settings.header),1)]),_:1})):n("",!0)])):n("",!0),(a(!0),r(u,null,T(t(e).content,o=>(a(),r(u,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{G as _};
//# sourceMappingURL=static-page.vue_vue_type_script_setup_true_lang-vkIlxLWR.js.map
