1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{2607:(e,t,r)=>{"use strict";r.d(t,{$:()=>s});var a=r(95155);r(12115);let n={fontFamily:"'Plus Jakarta Sans', sans-serif",fontWeight:700,letterSpacing:"0.08em",textTransform:"uppercase",borderRadius:"var(--rd-r-btn)",border:"none",cursor:"pointer",display:"inline-flex",alignItems:"center",gap:8,justifyContent:"center"},i={lg:{height:56,fontSize:12,padding:"0 24px"},md:{height:48,fontSize:12,padding:"0 24px"}};function s({variant:e="primary",size:t="md",disabled:r=!1,children:l,style:o,...d}){return(0,a.jsx)("button",{style:{...n,...i[t],...function(e){switch(e){case"primary":default:return{background:"var(--rd-canopy-mid)",color:"var(--rd-white)"};case"secondary":return{background:"var(--rd-canopy-soft)",color:"var(--rd-white)"};case"tertiary":return{background:"transparent",color:"var(--rd-canopy-mid)",border:"1.5px solid var(--rd-canopy-mid)"};case"accent":return{background:"var(--rd-depth-2)",color:"var(--rd-burst-soft)"};case"text":return{background:"transparent",color:"var(--rd-depth-2)",padding:"8px 0",textDecoration:"underline",textUnderlineOffset:"4px",textTransform:"none",letterSpacing:0,height:"auto"}}}(e),...r?{background:"var(--rd-misty-4)",color:"rgba(44,46,29,0.4)",cursor:"not-allowed",border:"none"}:{},...o},disabled:r,...d,children:l})}},5772:(e,t,r)=>{"use strict";r.d(t,{default:()=>n.a});var a=r(97651),n=r.n(a)},6154:(e,t,r)=>{"use strict";r.d(t,{AppShell:()=>N});var a=r(95155),n=r(73321),i=r(5772),s=r(98500),l=r.n(s),o=r(12115),d=r(32359);let c=(0,r(71843).UU)({projectId:"wnsl8zch",dataset:"production",apiVersion:"2024-01-01",useCdn:!1,fetch:{cache:"no-store"}}),u=` 2 *[_type == "navigationMenu"][0] { 3 title, 4 menus[] { 5 label, 6 href, 7 isHidden, 8 items[] { 9 label, 10 href, 11 isHidden, 12 }, 13 }, 14 mobileLinks[] { 15 label, 16 href, 17 isHidden, 18 }, 19 ctaLink { 20 label, 21 href, 22 isHidden, 23 }, 24 } 25`,f=` 26 { 27 "workshops": *[_type == "workshopsPage"][0].workshops[isHidden != true]{ 28 id, 29 title, 30 }, 31 "retreats": *[_type == "retreatsPage"][0].retreats[isHidden != true]{ 32 id, 33 title, 34 }, 35 } 36`,h=` 37 *[_type == "siteFooter"][0] { 38 title, 39 columns[] { 40 label, 41 isHidden, 42 links[] { 43 label, 44 href, 45 }, 46 groups[] { 47 label, 48 href, 49 links[] { 50 label, 51 href, 52 }, 53 }, 54 }, 55 socialLinks[] { 56 platform, 57 href, 58 isHidden, 59 }, 60 } 61`,m=` 62 *[_type == "overlayFooter"][0] { 63 title, 64 links[] { 65 label, 66 href, 67 isHidden, 68 }, 69 socialLinks[] { 70 platform, 71 href, 72 isHidden, 73 }, 74 } 75`,p=[{label:"Workshops",href:"/#living"},{label:"Retreats",href:"/#sanctum-experience"}],x=[{platform:"instagram",href:"#"},{platform:"facebook",href:"#"},{platform:"youtube",href:"#"}];function b({type:e}){return"instagram"===e?(0,a.jsxs)("svg",{viewBox:"0 0 24 24",className:"h-4.5 w-4.5","aria-hidden":"true",children:[(0,a.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"5",fill:"none",stroke:"currentColor",strokeWidth:"1.8"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"4",fill:"none",stroke:"currentColor",strokeWidth:"1.8"}),(0,a.jsx)("circle",{cx:"17.2",cy:"6.8",r:"1.2",fill:"currentColor"})]}):"facebook"===e?(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:"h-4.5 w-4.5","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M13.5 21v-7h2.6l.4-3h-3v-1.9c0-.9.3-1.6 1.7-1.6h1.5V4.8c-.3 0-1.1-.1-2.1-.1-2.1 0-3.5 1.3-3.5 3.7V11H8.6v3h2.5v7h2.4Z",fill:"currentColor"})}):"youtube"===e?(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:"h-4.5 w-4.5","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z",fill:"
75currentColor"})}):null}function g({label:e,href:t,children:r}){return(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"mb-4 text-base font-serif font-semibold tracking-[0.08em] text-text-on-dark",children:t?(0,a.jsx)(l(),{href:t,className:"transition-colors duration-300 hover:text-text-on-dark/75",children:e}):e}),(0,a.jsx)("div",{className:"grid gap-1",children:r})]})}function y({label:e,href:t,links:r}){return(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(l(),{href:t,className:"block font-semibold font-serif text-text-on-dark text-base tracking-[0.08em] leading-normal transition-all duration-300 ease-out hover:translate-x-1",children:e}),(0,a.jsx)("div",{className:"grid gap-1",children:r.map(e=>(0,a.jsx)(l(),{href:e.href,className:"nav-link font-normal block text-base leading-normal text-text-on-dark/80 transition-all duration-300 ease-out hover:text-text-on-dark hover:translate-x-1",children:e.label},e.label))})]})}function v(){let e=(0,o.useRef)(null),[t,r]=(0,o.useState)(!1),[n,s]=(0,o.useState)(null),[u,f]=(0,o.useState)(null),[v,k]=(0,o.useState)(null);(0,o.useEffect)(()=>{!async function(){try{let[e,t]=await Promise.all([c.fetch(h),c.fetch(m)]);e?.columns&&Array.isArray(e.columns)&&s(e.columns),e?.socialLinks&&Array.isArray(e.socialLinks)&&f(e.socialLinks),t&&k(t)}catch(e){console.error("Failed to fetch footer data:",e)}}();let t=e.current;if(!t)return;let a=new IntersectionObserver(([e])=>{r(e.isIntersecting)},{threshold:.05});return a.observe(t),()=>a.disconnect()},[]);let w=v?.links?v.links.filter(e=>!e?.isHidden&&e?.label&&e?.href):p,j=(v?.socialLinks??x).filter(e=>!e?.isHidden&&e?.platform&&e?.href),S=(u??x).filter(e=>!e?.isHidden&&e?.platform&&e?.href);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:`fixed inset-x-0 bottom-0 z-950 overflow-hidden border-t border-white/12 bg-wood bg-wood-no-texture text-text-on-dark/80 transition-all duration-300 ease-out hidden lg:flex ${t?"pointer-events-none translate-y-full opacity-0":"translate-y-0 opacity-100"}`,children:(0,a.jsxs)(d.m,{className:"flex flex-wrap items-center justify-between gap-4 py-4 text-text-on-dark font-normal",children:[(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-1.5 font-normal text-sm text-text-on-dark/75",children:w.map(e=>(0,a.jsx)(l(),{href:e.href??"#",className:"nav-link font-normal transition-colors duration-300 hover:text-text-on-dark",children:e.label},e.label))}),(0,a.jsx)("div",{className:"flex flex-wrap items-center gap-3",children:j.map(e=>(0,a.jsx)("a",{href:e.href??"#",className:"grid h-8 w-8 place-items-center rounded-full border border-white/25 text-text-on-dark/80 hover:text-text-on-dark",children:(0,a.jsx)(b,{type:e.platform})},e.platform))})]})}),(0,a.jsx)("footer",{ref:e,className:"bg-wood bg-wood-no-texture pt-20 pb-12 text-text-on-dark/80 font-normal",children:(0,a.jsxs)(d.m,{children:[(0,a.jsx)("div",{className:"mb-16",children:(0,a.jsx)(i.default,{src:"/sanctum-Logo.png",alt:"sanctum-logo",width:192,height:48,style:{width:"auto",height:"48px"}})}),(0,a.jsx)("div",{className:`grid gap-x-8 gap-y-12 sm:grid-cols-2 md:grid-cols-3 ${n?({1:"lg:grid-cols-1",2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-4",5:"lg:grid-cols-5"})[n.filter(e=>!e?.isHidden&&e?.label!=="Sanctum Compass").length]??"lg:grid-cols-5":"lg:grid-cols-5"}`,children:n?n.filter(e=>!e?.isHidden&&e?.label!=="Sanctum Compass").map((e,t)=>(0,a.jsx)(g,{label:e.label??"",href:e.href,children:e.groups?(0,a.jsx)("div",{className:"space-y-8",children:e.groups.map((e,t)=>{let r=(e.links||[]).filter(e=>e.label&&e.href).map(e=>({label:e.label,href:e.href}));return(0,a.jsx)(y,{label:e.label??"",href:e.href??"#",links:r},e.label??`footer-group-${t}`)})}):(e.links||[]).filter(e=>e.label&&e.href).map((e,t)=>(0,a.jsx)(l(),{href:e.href??"#",className:"nav-link font-normal text-base leading-[1.6] text-text-on-dark/80 transition-all duration-300 ease-out hover:text-text-on-dark hover:translate-x-1",children:e.label},e.label??`footer-link-${t}`))},e.label??`footer-column-${t}`)):Array.from({length:5}).map((e,t)=>(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("div",{className:"h-4 w-28 animate-pulse rounded bg-white/20"}),[85,70,90,65,75,80].map((e,t)=>(0,a.jsx)("div",{className:"h-3 animate-pulse rounded bg-white/10",style:{width:`${e}%`}},t))]},t))}),(0,a.jsxs)("div",{className:"mt-8",children:[(0,a.jsx)("div",{className:"flex items-center gap-4",children:S.map(e=>(0,a.jsx)("a",{href:e.href??"#",className:"grid h-8 w-8 place-items-center rounded-full border border-white/25 text-text-on-dark/80 hover:text-text-on-dark",children:(0,a.jsx)(b,{type:e.platform})},e.platform))}),(0,a.jsxs)("div",{className:"mt-6 border-t border-white/10 pt-6 text-sm text-text-on-dark/60 flex flex-wrap justify-between gap-4",children:[(0,a.jsx)("span",{children:"\xa9 2026 Sanctum. All rights reserved."}),(0,a.jsx)("span",{children:"Evidence-informed integrative wellness."})]})]})]})})]})}var k=r(34426);function w(){let[e,t]=(0,o.useState)(!1),[r,n]=(0,o.useState)(null),[s,h]=(0,o.useState)(null),[m,p]=(0,o.useState)(null),[x,b]=(0,o.useState)(null),[g,y]=(0,o.useState)(!0);(0,o.useEffect)(()=>
75{if(!e){document.body.style.overflow="";return}let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}},[e]),(0,o.useEffect)(()=>{let e=!0;return(async()=>{try{let[t,r]=await Promise.all([c.fetch(u),c.fetch(f)]);e&&t&&p(t),e&&r&&b(r)}catch(e){console.error("Failed to fetch navigation menu:",e)}finally{e&&y(!1)}})(),()=>{e=!1}},[]);let v=()=>{t(!1),h(null),n(null)},w="nav-link flex w-full items-center justify-between border-b border-border/50 py-3 text-base text-text-body text-left transition-colors duration-200 hover:text-primary",j="nav-link flex w-full items-center gap-2 py-2 pl-4 text-sm text-text-soft transition-colors duration-200 hover:text-primary",S=e=>!!(e?.label&&e?.href&&!e?.isHidden),N=e=>(e??[]).filter(e=>S(e)),_=(m?.menus??[]).filter(e=>S(e)).filter(e=>"Sanctum Compass"!==e.label),C=N(m?.mobileLinks),P=S(m?.ctaLink)?m?.ctaLink:null,z=(e,t)=>(e??[]).filter(e=>!!(e.id&&e.title)).map(e=>({label:e.title,href:`${t}#workshop-${e.id}`})),I=e=>"Workshops"===e.label?z(x?.workshops,"/workshops"):"Retreats"===e.label?z(x?.retreats,"/retreats"):N(e.items);return(0,a.jsxs)("header",{className:"sticky top-0 z-1000 bg-[#f2f2f2] transition-[background-color,box-shadow,border-color,opacity] duration-300 ease-[cubic-bezier(0.16,1,0.3,1)]",children:[(0,a.jsxs)(d.m,{className:"flex min-h-20 items-center justify-between gap-6 min-[1121px]:grid min-[1121px]:grid-cols-[auto_1fr_auto]",children:[(0,a.jsx)(l(),{href:"/",onClick:v,className:"flex min-w-max items-center gap-3 transition-opacity duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] hover:opacity-80","aria-label":"Sanctum home",children:(0,a.jsx)("div",{className:"",children:(0,a.jsx)(i.default,{src:"/sanctum-Logo.png",alt:"Sanctum logo",width:176,height:48,priority:!0,style:{width:"auto",height:"48px"}})})}),(0,a.jsx)("nav",{className:"hidden min-w-0 items-center gap-8 text-text-body min-[1121px]:flex min-[1121px]:w-full min-[1121px]:justify-end","aria-label":"Primary navigation",children:g?[100,130,120,110].map((e,t)=>(0,a.jsx)("div",{className:"h-3.5 animate-pulse rounded-full bg-wood/20",style:{width:e}},t)):_.map((e,t)=>{let i=I(e),s=i.length>0,o=e.label??"",d=e.href??"/",c=e.label??e.href??`menu-${t}`;return(0,a.jsxs)("div",{className:"relative flex items-center gap-2",onMouseEnter:()=>{s&&n(o)},onMouseLeave:()=>{s&&n(e=>e===o?null:e)},children:[(0,a.jsx)("div",{className:"absolute -bottom-4 left-0 right-0 h-4"}),(0,a.jsx)(l(),{href:d,onClick:()=>{n(null)},className:"nav-link relative py-2 text-sm after:absolute after:bottom-0 after:left-0 after:h-px after:w-full after:origin-left after:scale-x-0 after:bg-primary after:transition-transform after:duration-[300ms] after:[transition-timing-function:cubic-bezier(0.16,1,0.3,1)] hover:after:scale-x-100 focus-visible:after:scale-x-100",children:o}),s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),n(e=>e===o?null:o)},"aria-expanded":r===o?"true":"false","aria-haspopup":"menu",className:"py-2 text-xs text-primary transition-transform duration-300 ease-[cubic-bezier(0.16,1,0.3,1)]",children:(0,a.jsx)("span",{className:r===o?"inline-block rotate-180":"inline-block",children:"â¾"})}),(0,a.jsx)("div",{className:`absolute left-0 top-[calc(100%+1rem)] z-50 min-w-[260px] border border-border bg-white/98 text-sm shadow-[0_26px_64px_rgba(42,34,27,0.18)] transition-all duration-[260ms] [transition-timing-function:cubic-bezier(0.16,1,0.3,1)] ${r===o?"visible translate-y-0 opacity-100":"invisible translate-y-2 opacity-0"}`,children:i.map((e,t)=>{let r=e.label??e.href??`item-${t}`;return(0,a.jsxs)(l(),{href:e.href??"/",onClick:()=>{n(null)},className:"nav-link flex items-center gap-2 border-b border-border/40 px-4 py-3 text-sm text-text-soft last:border-b-0",children:[(0,a.jsx)("span",{className:"text-primary",children:"âº"}),(0,a.jsx)("span",{children:e.label})]},r)})})]}):null]},c)})}),(0,a.jsxs)("div",{className:"flex items-center gap-4 min-[1121px]:justify-self-end",children:[(0,a.jsx)("div",{className:"hidden gap-4 min-[1121px]:flex",children:g?(0,a.jsx)("div",{className:"h-10 w-28 animate-pulse rounded-full bg-wood/20"}):P?(0,a.jsx)(k.$,{href:P.href??"/member-login",variant:"navContact",size:"sm",children:P.label}):null}),(0,a.jsx)("button",{className:"grid h-11.5 w-11.5 place-items-center rounded-full border border-border bg-background text-text-body min-[1121px]:hidden transition-all duration-300 ease-[
75cubic-bezier(0.16,1,0.3,1)] hover:bg-soft hover:border-primary/30","aria-label":"Toggle menu","aria-expanded":e?"true":"false","aria-controls":"mobileMenu",onClick:()=>{t(e=>!e),h(null)},children:e?"â":"â°"})]})]}),(0,a.jsxs)("div",{id:"mobileMenu",className:"min-[1121px]:hidden",children:[(0,a.jsx)("div",{className:`${e?"fixed inset-0 z-1050 bg-black/40 backdrop-blur-sm":"hidden"}`,onClick:v,"aria-hidden":"true"}),(0,a.jsx)("div",{className:`fixed inset-y-0 right-0 z-1100 h-screen w-[78%] max-w-130 transform transition-transform duration-300 ${e?"translate-x-0":"translate-x-full"}`,"aria-hidden":!e,children:(0,a.jsxs)("div",{className:"flex h-full flex-col overflow-hidden border-l border-border bg-background/98 px-6 py-6 shadow-lg",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)(i.default,{src:"/sanctum-Logo.png",alt:"Sanctum logo",width:176,height:48,style:{width:"auto",height:"48px"}}),(0,a.jsx)("button",{type:"button",className:"grid h-9 w-9 place-items-center rounded-full border border-border text-text-body transition-colors duration-200 hover:text-primary","aria-label":"Close menu",onClick:v,children:"â"})]}),(0,a.jsxs)("div",{className:"mt-6 min-h-0 flex-1 overflow-auto",children:[C.map((e,t)=>{let r=e.label??e.href??`mobile-link-${t}`;return(0,a.jsx)(l(),{href:e.href??"/",onClick:v,className:w,children:e.label},r)}),_.map((e,t)=>{let r=I(e),n=r.length>0,i=e.label??"",o=e.href??"/",d=e.label??e.href??`mobile-menu-${t}`;return n?(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{type:"button",onClick:()=>{h(e=>e===i?null:i)},className:w,"aria-expanded":s===i?"true":"false",children:[i,(0,a.jsx)("span",{className:s===i?"text-xs text-primary rotate-180":"text-xs text-primary",children:"â¾"})]}),s===i?(0,a.jsxs)("div",{className:"pb-3",children:[(0,a.jsxs)(l(),{href:o,onClick:v,className:j,children:[(0,a.jsx)("span",{className:"text-primary",children:"âº"}),(0,a.jsxs)("span",{children:[i," Overview"]})]}),r.map((e,t)=>{let r=e.label??e.href??`mobile-item-${t}`;return(0,a.jsxs)(l(),{href:e.href??"/",onClick:v,className:j,children:[(0,a.jsx)("span",{className:"text-primary",children:"âº"}),(0,a.jsx)("span",{children:e.label})]},r)})]}):null]},d):(0,a.jsx)(l(),{href:o,onClick:v,className:w,children:i},d)})]}),(0,a.jsx)("div",{className:"mt-5 shrink-0 border-t border-border pt-5 pb-[max(env(safe-area-inset-bottom),1.9rem)] flex justify-center",children:P?(0,a.jsx)(k.$,{href:P.href??"/member-login",variant:"primary",size:"sm",className:"min-w-40",children:P.label}):null})]})})]})]})}function j(){let e=(0,n.usePathname)();return(0,o.useEffect)(()=>{let e,t=window.location.hash;if(!t)return;let r=t.slice(1),a=null,n=e=>{e.scrollIntoView({behavior:"smooth",block:"center"})},i=setTimeout(()=>{let t=document.getElementById(r);t?n(t):((a=new MutationObserver(()=>{let t=document.getElementById(r);t&&(a.disconnect(),a=null,clearTimeout(e),n(t))})).observe(document.body,{childList:!0,subtree:!0}),e=setTimeout(()=>{a?.disconnect(),a=null},5e3))},150);return()=>{clearTimeout(i),a?.disconnect(),clearTimeout(e)}},[e]),null}let S=["/member-login","/treatments","/workshops/div-1","/terms/ticket"];function N({children:e}){let t=(0,n.usePathname)()??"";return S.some(e=>t===e||t.startsWith(`${e}/`))?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j,{}),(0,a.jsx)(w,{}),(0,a.jsx)("main",{children:e}),(0,a.jsx)(v,{})]}):(0,a.jsx)(a.Fragment,{children:e})}},10752:(e,t,r)=>{"use strict";r.d(t,{GoogleAnalytics:()=>u});var a=r(95155),n=r(42593),i=r.n(n),s=r(12115),l=r(73321),o=r(34193),d=r(52781);function c(){let e=(0,l.usePathname)(),t=(0,l.useSearchParams)();return(0,s.useEffect)(()=>{if(!o.Sl)return;let r=t.toString();(0,o.in)(r?`${e}?${r}`:e)},[e,t]),null}function u(){let[e,t]=(0,s.useState)(()=>(0,d.vP)());return((0,s.useEffect)(()=>{let e=()=>t((0,d.vP)());return window.addEventListener(d.h8,e),()=>window.removeEventListener(d.h8,e)},[]),o.Sl&&e)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i(),{src:`https://www.googletagmanager.com/gtag/js?id=${o.Sl}`,strategy:"afterInteractive"}),(0,a.jsx)(i(),{id:"ga-init",strategy:"afterInteractive",children:` 76 window.dataLayer = window.dataLayer || []; 77 function gtag(){dataLayer.push(arguments);} 78 window.gtag = gtag; 79 gtag('js', new Date()); 80 gtag('config', '${o.Sl}', { send_page_view: false }); 81 `}),(0,a.jsx)(s.Suspense,{fallback:null,children:(0,a.jsx)(c,{})})]}):null}},28356:(e,t)=>{"use strict";
81Object.defineProperty(t,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return n}};for(var a in r)Object.defineProperty(t,a,{enumerable:!0,get:r[a]});let n="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29048:()=>{},32359:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var a=r(95155),n=r(91337);function i({children:e,className:t}){return(0,a.jsx)("div",{className:(0,n.cn)("w-full max-w-480 mx-auto px-8 md:px-12",t),children:e})}},34193:(e,t,r)=>{"use strict";r.d(t,{Sl:()=>a,in:()=>n,sx:()=>i});let a="G-W4X30S7JPP";function n(e){a&&window.gtag&&window.gtag("config",a,{page_path:e})}function i(e,t={}){window.gtag&&window.gtag("event",e,t)}},34426:(e,t,r)=>{"use strict";r.d(t,{$:()=>l});var a=r(95155);r(12115);var n=r(91337);let i={primary:"btn-primary",secondary:"btn-secondary",ghost:"btn-ghost",wood:"btn-wood",navContact:"btn-nav-contact",headerCta:"btn-header-cta"},s={sm:"btn-sm",md:"btn-md",lg:"btn-lg"};function l({variant:e="primary",size:t="md",href:r,children:o,className:d,...c}){let u=(0,n.cn)("btn cursor-pointer",s[t],i[e],d);return r?(0,a.jsx)("a",{href:r,className:u,...c,children:o}):(0,a.jsx)("button",{className:u,...c,children:o})}},36726:e=>{e.exports={style:{fontFamily:"'Cinzel', 'Cinzel Fallback'",fontStyle:"normal"},className:"__className_3c50be",variable:"__variable_3c50be"}},42593:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={default:function(){return y},handleClientScriptLoad:function(){return x},initScriptLoader:function(){return b}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});let i=r(73623),s=r(66388),l=r(95155),o=i._(r(47650)),d=s._(r(12115)),c=r(75368),u=r(3584),f=r(28356),h=new Map,m=new Set,p=e=>{let{src:t,id:r,onLoad:a=()=>{},onReady:n=null,dangerouslySetInnerHTML:i,children:s="",strategy:l="afterInteractive",onError:d,stylesheets:c}=e,f=r||t;if(f&&m.has(f))return;if(h.has(t)){m.add(f),h.get(t).then(a,d);return}let p=()=>{n&&n(),m.add(f)},x=document.createElement("script"),b=new Promise((e,t)=>{x.addEventListener("load",function(t){e(),a&&a.call(this,t),p()}),x.addEventListener("error",function(e){t(e)})}).catch(function(e){d&&d(e)});i?(x.innerHTML=i.__html||"",p()):s?(x.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",p()):t&&(x.src=t,h.set(t,b)),(0,u.setAttributesFromProps)(x,e),"worker"===l&&x.setAttribute("type","text/partytown"),x.setAttribute("data-nscript",l),c&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(x)};function x(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>p(e))}):p(e)}function b(e){e.forEach(x),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function g(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:n=null,strategy:i="afterInteractive",onError:s,stylesheets:u,...h}=e,{updateScripts:x,scripts:b,getIsSsr:g,appDir:y,nonce:v}=(0,d.useContext)(c.HeadManagerContext);v=h.nonce||v;let k=(0,d.useRef)(!1);(0,d.useEffect)(()=>{let e=t||r;k.current||(n&&e&&m.has(e)&&n(),k.current=!0)},[n,t,r]);let w=(0,d.useRef)(!1);if((0,d.useEffect)(()=>{if(!w.current){if("afterInteractive"===i)p(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>p(e))}));w.current=!0}}
81,[e,i]),("beforeInteractive"===i||"worker"===i)&&(x?(b[i]=(b[i]||[]).concat([{id:t,src:r,onLoad:a,onReady:n,onError:s,...h,nonce:v}]),x(b)):g&&g()?m.add(t||r):g&&!g()&&p({...e,nonce:v})),y){if(u&&u.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!r)return h.dangerouslySetInnerHTML&&(h.children=h.dangerouslySetInnerHTML.__html,delete h.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...h,id:t}])})`}});else return o.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin}),(0,l.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...h,id:t}])})`}});"afterInteractive"===i&&r&&o.default.preload(r,h.integrity?{as:"script",integrity:h.integrity,nonce:v,crossOrigin:h.crossOrigin}:{as:"script",nonce:v,crossOrigin:h.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let y=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},47427:(e,t,r)=>{"use strict";r.d(t,{CookieConsent:()=>c});var a=r(95155),n=r(12115),i=r(2607),s=r(52781);function l({checked:e,onChange:t,disabled:r}){return(0,a.jsx)("button",{role:"switch","aria-checked":e,disabled:r,onClick:()=>!r&&t(!e),style:{width:44,height:26,borderRadius:"var(--rd-r-pill)",border:"none",cursor:r?"default":"pointer",background:e?"var(--rd-canopy-mid)":"var(--rd-misty-3)",opacity:r?.6:1,position:"relative",flexShrink:0,padding:0,transition:"background 0.15s ease"},children:(0,a.jsx)("span",{style:{position:"absolute",top:3,left:e?21:3,width:20,height:20,borderRadius:"50%",background:"var(--rd-white)",boxShadow:"0 1px 3px rgba(0,0,0,0.25)",transition:"left 0.15s ease"}})})}let o=[{key:"necessary",label:"Strictly Necessary Cookies",locked:!0,desc:"These cookies are essential for the operation of www.sanctum-health.com. They enable core functionalities such as user authentication, security, network management, and accessibility. Without these cookies, basic website services cannot be provided."},{key:"analytics",label:"Performance & Analytics Cookies",locked:!1,desc:"These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand which pages are the most and least popular and see how visitors move around the site. All information collected by these cookies is aggregated and anonymous."},{key:"functional",label:"Functional Cookies",locked:!1,desc:"These cookies enable the website to provide enhanced functionality and personalization, such as remembering your selected region, language settings, or video player preferences. They may be set by us or by third-party providers whose services we have added to our pages."},{key:"marketing",label:"Targeting & Advertising Cookies",locked:!1,desc:"These cookies may be set through our site by our advertising and marketing partners. They are used to build a profile of your interests and show you relevant content or advertisements on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device."}];function d({prefs:e,setPrefs:t,onClose:r,onSave:n,onAcceptAll:s}){return(0,a.jsx)("div",{onClick:r,style:{position:"fixed",inset:0,background:"rgba(44,46,29,0.55)",backdropFilter:"blur(2px)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:300,padding:"var(--rd-sp-3)"},children:(0,a.jsxs)("div",{onClick:e=>e.stopPropagation(),style:{background:"var(--rd-white)",borderRadius:"var(--rd-r-card)",padding:"var(--rd-sp-6)",maxWidth:560,width:"100%",maxHeight:"85vh",boxSizing:"border-box",overflowY:"auto",position:"relative",boxShadow:"0 24px 64px rgba(0,0,0,0.25)",fontFamily:"'Plus Jakarta Sans', sans-serif"},children:[(0,a.jsx)("button",{onClick:r,"aria-label":"Close",style:{position:"absolute",top:"var(--rd-sp-3)",right:"var(--rd-sp-3)",background:"none",border:"none",cursor:"pointer",color:"var(--rd-depth-2)",opacity:.6,fontSize:"var(--rd-text-body-lg)",lineHeight:1},children:"â"}),(0,a.jsx)("p",{style:{fontSize:"var(--rd-text-caption)",fontWeight:700,letterSpacing:"0.1em",textTransform:"uppercase",color:"var(--rd-canopy-mid)",margin:"0 0 var(--rd-sp-1)"},children:"Privacy"}),(0,a.jsx)("h3",{style:{fontFamily:"var(--font-display)",fontStyle:"italic",fontWeight:500,fontSize:"var(--rd-text-h3)",color:"var(--rd-depth-2)",margin:"0 0 var(--rd-sp-3)"},children:"Cookie Preferences & Consent Management"}),(0,a.jsx)("p",{style:{fontSize:"var(--rd-text-body)",color:"var(--rd-depth-2)",opacity:.8,lineHeight:1.7,margin:"0 0 var(--rd-sp-3)"},children:"When you visit Sanctum Health, we may store or retrieve information on your browser through cookies. This information helps the website function properly, improves your browsing experience, and provides insights into how our site is used. You can choose to enable or disable different types of non-essential cookies below. Blocking certain categories may impact your experience on our site and the services we are able to offer."}),(0,a.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"var(--rd-sp-3)"},children:o.map(r=>(0,a.jsxs)("div",{style:{padding:"var(--rd-sp-2) 0",borderTop:"1px solid var(--rd-border-hairline)"},children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"var(--rd-sp-2)",marginBottom:"var(--rd-sp-1)"},children:[(0,a.jsx)("p",{style:{fontFamily:"var(--font-display)",fontWeight:600,fontSize:"var(--rd-text-body)",color:"var(--rd-depth-2)",margin:0},children:r.label}),r.locked?(0,a.jsx)("span",{style:{fontSize:"var(--rd-text-caption)",fontWeight:700,color:"var(--rd-canopy-mid)",opacity:.8,flexShrink:0},children:"Always Active"}):(0,a.jsx)(l,{checked:e[r.key],onChange:e=>t(t=>({...t,[r.key]:e}))})]}),(0,a.jsx)("p",{style:{fontSize:"var(--rd-text-body)",color:"var(--rd-depth-2)",opacity:.65,lineHeight:1.6,margin:0},children:r.desc})]},r.key))}),(0,a.jsxs)("div",{style:{display:"flex",gap:"var(--rd-sp-2)",marginTop:"var(--rd-sp-4)",paddingTop:"var(--rd-sp-3)",borderTop:"1px solid var(--rd-border-hairline)",flexWrap:"wrap"},children:[(0,a.jsx)(i.$,{variant:"primary",size:"md",onClick:n,children:"Save My Preferences"}),(0,a.jsx)(i.$,{variant:"tertiary",size:"md",onClick:s,children:"Accept All"})]}),(0,a.jsxs)("p",{style:{fontSize:"var(--rd-text-caption)",color:"var(--rd-depth-2)",opacity:.55,lineHeight:1.6,margin:"var(--rd-sp-3) 0 0"},children:["Learn more in our ",(0,a.jsx)("a",{href:"/redesign/cookie-policy",style:{color:"var(--rd-canopy-mid)"},children:"Cookie Policy"})," and ",(0,a.jsx)("a",{href:"/redesign/privacy",style:{color:"var(--rd-canopy-mid)"},children:"Privacy Policy"}),"."]})]})})}function c(){let[e,t]=n.useState(!1),[r,l]=n.useState(!1),[o,c]=n.useState(s.pj);n.useEffect(()=>{let e=(0,s.Xj)();return e&&e.decided?c({necessary:!0,analytics:!!e.analytics,functional:!!e.functional,marketing:!!e.marketing}):t(!0),window.openCookiePreferences=()=>{c(e=>{let t=(0,s.Xj)();return t?{necessary:!0,analytics:!!t.analytics,functional:!!t.functional,marketing:!!t.marketing}:e}),l(!0)},()=>{delete window.openCookiePreferences}},[]);let u=()=>{let e={necessary:!0,analytics:!0,functional:!0,marketing:!0};(0,s.eD)(e),c(e),t(!1),l(!1)};return(0,a.jsxs)(a.Fragment,{children:[e&&!r?(0,a.jsxs)("div",{style:{position:"fixed",left:"var(--rd-sp-4)",bottom:"var(--rd-sp-4)",zIndex:250,width:"min(380px, calc(100vw - 2 * var(--rd-sp-4)))",background:"rgba(250,249,244,0.92)",backdropFilter:"blur(16px) saturate(140%)",border:"1px solid rgba(44,46,29,0.1)",borderRadius:"var(--rd-r-card)",padding:"var(--rd-sp-4)",boxShadow:"0 12px 32px rgba(44,46,29,0.18)",boxSizing:"border-box",fontFamily:"'Plus Jakarta Sans', sans-serif"},children:[(0,a.jsx)("p",{style:{fontFamily:"var(--font-display)",fontStyle:"italic",fontWeight:500,fontSize:"var(--rd-text-h4)",color:"var(--rd-depth-2)",margin:"0 0 var(--rd-sp-1)"},children:"We Value Your Privacy"}),(0,a.jsxs)("p",{style:{fontSize:"var(--rd-text-body)",color:"var(--rd-depth-2)",opacity:.75,lineHeight:1.6,margin:"0 0 var(--rd-sp-3)"},children:["We use cookies to enhance navigation, analyze usage, and remember your preferences. Essential cookies are always on; others need your consent. See our"," ",(0,a.jsx)("a",{href:"/redesign/cookie-policy",style:{color:"var(--rd-canopy-mid)"},children:"Cookie Policy"}),"."]}),(0,a.jsxs)("div",{style:{display:"flex",gap:"var(--rd-sp-1)",flexWrap:"wrap",alignItems:"center"},children:[(0,a.jsx)(i.$,{variant:"primary",size:"md",onClick:u,children:"Accept All"}),(0,a.jsx)(i.$,{variant:"tertiary",size:"md",onClick:()=>{(0,s.eD)(s.pj),c(s.pj),t(!1),l(!1)},children:"Reject"}),(0,a.jsx)(i.$,{variant:"text",style:{margin:0,padding:"0 var(--rd-sp-1)"},onClick:()=>l(!0),children:"Settings"})]})]}):null,r?(0,a.jsx)(d,{prefs:o,setPrefs:c,onClose:()=>l(!1),onSave:()=>{(0,s.eD)(o),t(!1),l(!1)},onAcceptAll:u}):null]})}},52781:(e,t,r)=>{"use strict";r.d(t,{Xj:()=>s,eD:()=>l,h8:()=>i,pj:()=>n,vP:()=>o});let a="sh_cookie_consent",n={necessary:!0,analytics:!1,functional:!1,marketing:!1},i="sh-cookie-consent-changed";function s(){try{let e=window.localStorage.getItem(a);if(!e)return null;return JSON.parse(e)}catch{return null}}function l(e){let t={...e,decided:!0,decidedAt:Date.now()};try{window.localStorage.setItem(a,JSON.stringify(t))}catch{}window.dispatchEvent(new CustomEvent(i,{detail:t}))}function o(){let e=s();return!!(e?.decided&&e.analytics)}},62039:(e,t,r)=>{Promise.resolve().then(r.bind(r,10752)),Promise.resolve().then(r.bind(r,47427)),Promise.resolve().then(r.bind(r,6154)),Promise.resolve().then(r.t.bind(r,78707,23)),Promise.resolve().then(r.t.bind(r,88313,23)),Promise.resolve().then(r.t.bind(r,36726,23)),Promise.resolve().then(r.t.bind(r,66872,23)),Promise.resolve().then(r.t.bind(r,29048,23))},66872:()=>{},73321:(e,t,r)=>{"use strict";var a=r(74645);r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})},78707:e=>{e.exports={style:{fontFamily:"'Cormorant Garamond', 'Cormorant Garamond Fallback'"},className:"__className_2b785a",variable:"__variable_2b785a"}},88313:e=>{e.exports={style:{fontFamily:"'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback'",fontStyle:"normal"},className:"__className_2392b8",variable:"__variable_2392b8"}},91337:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i});var a=r(29722),n=r(622);function i(...e){return(0,n.QP)((0,a.$)(e))}},97651:(e,t,r)=>{"use strict";
81Object.defineProperty(t,"__esModule",{value:!0});var a={default:function(){return c},getImageProps:function(){return d}};for(var n in a)Object.defineProperty(t,n,{enumerable:!0,get:a[n]});let i=r(73623),s=r(95413),l=r(38437),o=i._(r(36095));function d(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=l.Image}},e=>{e.O(0,[5207,7513,8089,8500,8409,8437,1843,8441,3794,7358],()=>e(e.s=62039)),_N_E=e.O()}]);
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.