import{c as e,n as t,r as n,t as r}from"./Seo-DIwHowcX.js";import{N as i,U as a,c as o,k as s}from"./index-Bcpb1GUt.js";import{t as c}from"./PageHero-Cw1tEghU.js";var l=e(n(),1),u=t();function d({slug:e}){let t=a(i),[n,d]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let t=!0;return s(e).then(e=>{t&&d(e)}),()=>{t=!1}},[e]),n?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r,{title:`${n.title} — ${t?.company_name??`Touch Therapies Antigua`}`}),(0,u.jsx)(c,{kicker:`Legal`,title:n.title}),(0,u.jsx)(`section`,{className:`py-16`,children:(0,u.jsx)(`div`,{className:`wrap max-w-3xl`,children:(0,u.jsx)(o,{children:(0,u.jsx)(`div`,{className:`[&_h2]:sec-title [&_h2]:!text-[1.4rem] [&_h2]:mt-8 [&_p]:mb-4 [&_p]:text-muted [&_img]:my-6 [&_img]:max-w-full [&_img]:rounded-2xl`,dangerouslySetInnerHTML:{__html:n.body}})})})})]}):(0,u.jsx)(`div`,{className:`min-h-screen`})}export{d as default};