import{d,i as f,b as y}from"./Cfh3kXIQ.js";import{_ as h}from"./BXkoSkfD.js";import{_ as v}from"./BRE0h88b.js";import{u as w}from"./DiIdhs-Z.js";import{u as g}from"./CzEXYf9D.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"./C_YNEQWT.js";import"./AQgvJZua.js";import"./APZTHeFf.js";import"./DAoAjQ1Z.js";import"./BrvZKvXP.js";import"./CSqzEET8.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};