import{d,i as f,b as y}from"./AHiYuuv4.js";import{_ as h}from"./mh-Uoghq.js";import{_ as v}from"./DpGZ2j5Y.js";import{u as w}from"./_Fx3VLSE.js";import{u as g}from"./BQkHUO2l.js";import{l as k,a0 as C,E as c,P as r,u as o,L as s,V as n,U as B}from"./DEIzhR9A.js";import"./B5Zp2Vr1.js";import"./BD6iv5wT.js";import"./CXSUenga.js";import"./BZRkhowF.js";import"./D8sTzVSg.js";import"./C4LJZt9n.js";import"./aaK5HZ8-.js";import"./nLZJejse.js";import"./BNS08PCs.js";const $={key:0,class:"container space-y-2 py-4"},b={key:1,class:"container mb-16"},x={class:"py-4"},N={class:"flex items-center justify-center"},S={class:"w-full overflow-hidden md:w-4/5"},Q=k({name:"ServicesPage",__name:"[slug]",async setup(V){let a,m;const{fetchBySlug:l,fetching:u}=w(),i=d().params.slug,{data:t}=([a,m]=C(()=>g(`useCms-${i}`,()=>l(`s/${i}`,"field"))),a=await a,m(),a);if(!t.value)throw f({fatal:!0,statusCode:404,statusMessage:"Page Not Found"});return(P,A)=>{const e=y,_=h,p=v;return c(),r("div",null,[o(u)?(c(),r("div",$,[s(e,{type:"headline",class:"mb-10"}),s(e,{type:"custom",class:"h-6 w-72"}),s(e,{type:"custom",class:"h-6 w-48"}),s(e,{type:"custom",class:"h-6 w-96"}),s(e,{type:"custom",class:"h-6 w-72"})])):o(t)?(c(),r("div",b,[n("div",x,[s(_,{links:[{value:"Home",to:"/"},{value:o(t).name,to:o(t).slug}]},null,8,["links"])]),n("div",N,[n("div",S,[s(p,{story:o(t)},null,8,["story"])])])])):B("",!0)])}}});export{Q as default};