import{c as e,n as t,r as n,t as r}from"./Seo-DIwHowcX.js";import{B as i,D as a,c as o,j as s}from"./index-BXpSodsH.js";import{t as c}from"./PageHero-DT6BvojU.js";var l=e(n(),1),u=t();function d({slug:e}){let t=i(s),[n,d]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let t=!0;return a(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};