1import{_ as h}from"./B-kBDetH.js";import{_ as y}from"./BIgeSK_B.js";import{u as k,b,c as v,a as B}from"#entry";import{u as x}from"./DLXtAeKK.js";import{u as w}from"./oM_w_ZHj.js";import{u as A}from"./DdzzKRin.js";import{X as C,H as s,I as r,u as t,D as E,Z as H,J as I,F as j,Y as D,O as N,L as V,j as $}from"./JysBkY1G.js";import"./D3jSXG0g.js";import"./BTpw-xZX.js";import"./DsOJPsOs.js";import"./D8CTMPYX.js";import"./CPWb9FGB.js";import"./B2y08FQu.js";import"./PliZsVQ2.js";import"./BZv5bXQq.js";const F={key:0,class:"page-header"},U={__name:"[...slug]",async setup(L){let o,n;const{locale:_}=k(),{params:l}=b(),i=$([]);x(i);const{data:c,error:m}=([o,n]=C(()=>w().getDomain(l.slug.filter(Boolean).join("/"))),o=await o,n(),o);if(m.value||!c.value?.length)throw v({statusCode:404,message:"[domain/slug] This page doesnât exist "+l.slug,fatal:!0});const e=c.value[0],p=Array.isArray(e.acf.layout_builder)?e.acf.layout_builder.map(a=>(a.acf_fc_layout==="block_twocolumn"?a.class="container-wide":["block_related_latest_post","block_insights"].includes(a.acf_fc_layout)&&(a.mainPostId=e.id??e.ID,a.region="global"),a)):[];return A(e.yoast_head_json,{page:e}),B({htmlAttrs:{lang:_.value}}),(a,S)=>{const f=h,d=y;return s(),r("div",{class:V(t(e)?.class_list)},[t(e)?(s(),r("div",F,[E(f,{"animation-link":t(e).acf.hero_animation,content:t(e).acf.hero_text,pagetitle:t(e).title?.rendered,title:t(e).acf.hero_title,subheading:t(e).acf.subheading,"back-button":!0},null,8,["animation-link","content","pagetitle","title","subheading"])])):H("",!0),I("div",{class:"page-content gutenberg",ref_key:"acfBlocksEles",ref:i},[(s(!0),r(j,null,D(t(p),(u,g)=>(s(),N(d,{key:`${u.acf_fc_layout}_${g}`,block:u},null,8,["block"]))),128))],512)],2)}}};export{U 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.