1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,4346,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(22016),r=e.i(18566),s=e.i(20502);function i(e){return(0,s.isRetreatSlug)(e)?(0,s.resolveRetreatSlug)(e):e}function o(e,t,a,n){let r=`/${n}/${a}/`,o=t.split("/").filter(Boolean),l=(0,s.getLocationFromPath)(t),c=null;if(l&&o.length>=3)c=o[2];else if(!l&&o.length>=2&&(0,s.isRetreatSlug)(o[1]))c=o[1];else if(l&&2===o.length)return{path:r,exact:!0,slug:null};if(!c)return{path:r,exact:!1,slug:null};let d=i(c),u=function(e,t,a){if(!e)return null;let n=e[t];if(!n)return null;let r=i(a);return n.pages[r]?.path??null}(e,a,d);return u?{path:u,exact:!0,slug:d}:{path:r,exact:!1,slug:d}}s.DEFAULT_FACILITY_ORDER;var l=e.i(2331);e.s(["LocationSwitcher",0,function({locationTree:e,variant:i="header",locations:c,switchLabel:d}){let u=(0,r.usePathname)(),h=(0,s.getLocationFromPath)(u),[m,p]=(0,a.useState)(!1),f=(0,a.useRef)(null);if((0,a.useEffect)(()=>{function e(e){f.current&&!f.current.contains(e.target)&&p(!1)}function t(e){"Escape"===e.key&&(p(!1),f.current?.querySelector("button")?.focus())}return m&&(document.addEventListener("mousedown",e),"bar"===i&&document.addEventListener("keydown",t)),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[m,i]),!h)return null;let x=s.LOCATIONS.find(e=>e.slug===h);if(!x)return null;let b=u.split("/").filter(Boolean)[0]||"en",g=(0,l.t)(b);if("bar"===i){let a=c&&c.length?c:s.LOCATIONS.map(e=>({slug:e.slug,name:`Shanti-Som ${e.name}`,line:e.tagline[b]||e.tagline.en,statusLine:(0,s.getStatusLine)(e,b)})),r=a.find(e=>e.slug===h);return r?(0,t.jsxs)("div",{ref:f,className:"nav2-sw","data-open":m?"true":"false",children:[(0,t.jsxs)("button",{type:"button","aria-expanded":m,"aria-controls":"nav2-switcher-menu","aria-haspopup":"true","aria-label":`${d||"Switch destination"}: ${r.name}`,onClick:()=>p(!m),children:[r.name,(0,t.jsx)("svg",{viewBox:"0 0 10 10",fill:"none",stroke:"currentColor",strokeWidth:"1.5","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1 3l4 4 4-4"})})]}),(0,t.jsx)("ul",{id:"nav2-switcher-menu",children:a.map(a=>{let r=a.slug===h,s=o(e,u,a.slug,b),i=r||s.exact||!s.slug?"":(0,l.getRetreatLabel)(s.slug,b);return(0,t.jsx)("li",{children:(0,t.jsxs)(n.default,{href:s.path,"aria-current":r?"true":void 0,onClick:()=>p(!1),children:[(0,t.jsx)("b",{children:a.name}),(0,t.jsxs)("span",{children:[a.line,a.statusLine?` \xb7 ${a.statusLine}`:""]}),i&&(0,t.jsxs)("em",{children:[i,": ",g.notOfferedHere]})]})},a.slug)})})]}):null}return(0,t.jsxs)("div",{ref:f,className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>p(!m),className:"flex items-center gap-1 sm:gap-1.5 text-sm font-body font-medium text-brand-dark hover:text-brand-olive transition-colors","aria-label":`Current location: ${x.name}. Click to switch.`,children:[(0,t.jsxs)("svg",{viewBox:"0 0 16 16",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"1.5",className:"flex-shrink-0",children:[(0,t.jsx)("circle",{cx:"8",cy:"6.5",r:"2.5"}),(0,t.jsx)("path",{d:"M8 14s-5-4.5-5-7.5a5 5 0 1 1 10 0c0 3-5 7.5-5 7.5z"})]}),(0,t.jsx)("span",{className:"text-[10px] sm:text-xs uppercase tracking-wider whitespace-nowrap",children:x.name}),(0,t.jsx)("svg",{viewBox:"0 0 12 12",width:"10",height:"10",fill:"none",stroke:"currentColor",strokeWidth:"1.5",className:`transition-transform ${m?"rotate-180":""}`,children:(0,t.jsx)("path",{d:"M3 5l3 3 3-3"})})]}),m&&(0,t.jsx)("div",{className:"absolute top-full right-0 mt-2 bg-white shadow-lg border border-brand-grey/20 py-1 w-[200px] sm:min-w-[200px] z-50",children:s.LOCATIONS.map(a=>{let r=a.slug===h,i=o(e,u,a.slug,b),c=(0,s.getStatusLine)(a,b),d=r||i.exact||!i.slug?"":(0,l.getRetreatLabel)(i.slug,b);return(0,t.jsxs)(n.default,{href:i.path,onClick:()=>p(!1),className:`flex flex-col gap-0.5 px-4 py-2.5 text-sm font-body transition-colors ${r?"text-brand-dark font-medium bg-brand-ecru/50":"text-brand-dark/70 hover:bg-brand-ecru hover:text-brand-dark"}`,children:[(0,t.jsxs)("span",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:`w-2 h-2 rounded-full flex-shrink-0 ${r?"bg-brand-olive":"bg-brand-grey/40"}`}),(0,t.jsx)("span",{className:"flex-1",children:a.tagline[b]||a.tagline.en})]}),c&&(0,t.jsx)("span",{className:"pl-5 text-[10px] uppercase tracking-wide text-brand-olive",children:c}),d&&(0,t.jsxs)("span",{className:"pl-5 text-[11px] text-brand-dark/50",children:[d,": ",g.notOfferedHere]})]},a.slug)})})]})}],4346)},18287,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(22016),r=e.i(18566),s=e.i(20502),i=e.i(80946),o=e.i(18908),l=e.i(83734),c=e.i(72269),d=e.i(66948);e.s(["BookNowButton",0,function({label:e,interestLabel:u,className:h="",onClose:m}){let p=(0,r.usePathname)(),f=(0,s.getLocationFromPath)(p),x=p.split("/").filter(
1Boolean)[0]||"en",[b,g]=(0,a.useState)(!1),{launch:v,chooser:w,loading:j}=(0,l.useBookingLauncher)("header",m);if(f){let a=s.LOCATIONS.find(e=>e.slug===f);if(a&&!(0,s.isBookable)(a))return(0,t.jsx)(n.default,{href:`/${x}/${a.slug}/`,className:h,onClick:m,children:u||e})}let y=async()=>{let e=(0,d.resolveBookingEngineForPath)(p);(0,c.trackEngineOpened)({entryPoint:"header",configurationId:e.configurationId,offerSource:"path",location:e.locationSlug,viaChooser:!1}),(0,i.trackMetaEvent)("InitiateCheckout",{contentName:e.label,contentCategory:"booking",currency:d.MEWS_CURRENCY}),g(!0);try{await (0,o.loadAndOpenMews)({configurationId:e.configurationId,chainConfigurationIds:e.chainConfigurationIds,cityId:e.cityId,hotelId:e.hotelId,startDate:e.startDate,endDate:e.endDate,languageCode:(0,d.mewsLanguageCode)((0,d.langFromPathname)(p)),currencyCode:d.MEWS_CURRENCY})}finally{g(!1)}},k=async()=>{await v()||(await y(),m?.())};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:h,onClick:k,disabled:b||j,"aria-busy":b||j,children:e}),w]})}])},68875,e=>{"use strict";var t=e.i(43476),a=e.i(57688),n=e.i(71645),r=e.i(22016),s=e.i(18566),i=e.i(2331),o=e.i(99061),l=e.i(20502),c=e.i(4346),d=e.i(18287);function u(e,t,a){if(e.locationScoped){let n=a||"marbella";if(e.pathByLocation&&!(n in e.pathByLocation))return null;let r=e.pathByLocation?.[n]||e.path;return r.startsWith(`/${t}/`)?r:`/${t}/${n}${r}`}let n=e.path.replace(/^\/|\/$/g,"");if((0,l.isRetreatSlug)(n)&&a){if(e.pathByLocation&&!(a in e.pathByLocation))return`/${t}${e.path}`;let n=e.pathByLocation?.[a]||e.path;return`/${t}/${a}${n}`}return`/${t}${e.path}`}let h={en:(0,t.jsxs)("svg",{viewBox:"0 0 60 30",width:"20",height:"10",className:"inline-block rounded-sm",children:[(0,t.jsx)("clipPath",{id:"s",children:(0,t.jsx)("path",{d:"M0,0 v30 h60 v-30 z"})}),(0,t.jsx)("clipPath",{id:"t",children:(0,t.jsx)("path",{d:"M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"})}),(0,t.jsxs)("g",{clipPath:"url(#s)",children:[(0,t.jsx)("path",{d:"M0,0 v30 h60 v-30 z",fill:"#012169"}),(0,t.jsx)("path",{d:"M0,0 L60,30 M60,0 L0,30",stroke:"#fff",strokeWidth:"6"}),(0,t.jsx)("path",{d:"M0,0 L60,30 M60,0 L0,30",clipPath:"url(#t)",stroke:"#C8102E",strokeWidth:"4"}),(0,t.jsx)("path",{d:"M30,0 v30 M0,15 h60",stroke:"#fff",strokeWidth:"10"}),(0,t.jsx)("path",{d:"M30,0 v30 M0,15 h60",stroke:"#C8102E",strokeWidth:"6"})]})]}),es:(0,t.jsxs)("svg",{viewBox:"0 0 750 500",width:"20",height:"13",className:"inline-block rounded-sm",children:[(0,t.jsx)("rect",{width:"750",height:"500",fill:"#c60b1e"}),(0,t.jsx)("rect",{width:"750",height:"250",y:"125",fill:"#ffc400"})]}),nl:(0,t.jsxs)("svg",{viewBox:"0 0 900 600",width:"20",height:"13",className:"inline-block rounded-sm",children:[(0,t.jsx)("rect",{width:"900",height:"200",fill:"#AE1C28"}),(0,t.jsx)("rect",{width:"900",height:"200",y:"200",fill:"#FFF"}),(0,t.jsx)("rect",{width:"900",height:"200",y:"400",fill:"#21468B"})]})},m=[{code:"en",label:"EN"},{code:"es",label:"ES"},{code:"nl",label:"NL"}];e.s(["SiteHeader",0,function({navItems:e,locationTree:p}){let[f,x]=(0,n.useState)(!1),[b,g]=(0,n.useState)(!1),[v,w]=(0,n.useState)(null),j=(0,s.usePathname)(),y=(0,s.useRouter)(),[k,N]=(0,n.useState)(!1),C=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=()=>N(window.scrollY>80);return window.addEventListener("scroll",e,{passive:!0}),e(),()=>window.removeEventListener("scroll",e)},[]);let L=(0,o.getLangFromPath)(j),S=(0,l.getLocationFromPath)(j),$=e||(0,i.getNavItems)(L),B=(0,i.t)(L),M=(0,n.useCallback)(async e=>{g(!1);let t=j.split("/").filter(Boolean).slice(1).join("/");if(!t)return void y.push(`/${e}/`);try{let a=await fetch(`/api/translate-slug?slug=${encodeURIComponent(t)}&from=${L}&to=${e}`),n=await a.json();y.push(`/${e}/${n.slug}/`)}catch{y.push(`/${e}/${t}/`)}},[j,L,y]);return(0,t.jsxs)("header",{ref:C,className:`sticky top-0 z-50 backdrop-blur-sm border-b border-brand-grey/20 transition-all duration-300 ${k?"bg-brand-light/98 shadow-sm":"bg-brand-light/95"}`,children:[(0,t.jsx)("div",{className:"mx-auto max-w-layout px-3 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:`flex items-center justify-between transition-all duration-300 ${k?"h-14 sm:h-14":"h-16 sm:h-24"}`,children:[(0,t.jsx)(r.default,{href:`/${L}/`,className:"flex-shrink min-w-0",children:(0,t.jsx)(a.default,{src:"/images/logo-primary.png",alt:"Shanti-Som Wellbeing Retreat",width:280,height:78,sizes:"(max-width: 640px) 140px, 240px",priority:!0,className:`w-auto transition-all duration-300 ${k?"h-8 sm:h-9 max-w-[120px] sm:max-w-none":"h-10 sm:h-16 max-w-[140px] sm:max-w-none"}`})}),(0,t.jsx)("nav",{className:`hidden lg:flex items-center transition-all duration-300 ${k?"gap-6":"gap-8"}`,children:$.map(e=>{let a=u(e,L,S);return a?(0,t.jsxs)("div",{className:"relative",onMouseEnter:()=>e.children&&w(e.label),onMouseLeave:()=>w(null),children:[(0,t.jsx)(r.default,{href:a,className:"text-sm font-body font-medium uppercase tracking-widest text-brand-dark hover:text-brand-olive transition-colors py-2",onClick:()=>w(null),children:e.label}),e.children&&v===e.label&&(0,t.jsx)("div",{className:"absolute top-full left-0 pt-2 min-w-[220px]",children:(0,t.jsx)("div",{className:"bg-white shadow-lg border border-brand-grey/20 py-2",children:e.children.map(e=>{let a=u(e,L,S);return a?(0,t.jsx)(r.default,{href:a,className:"block px-5 py-2.5 text-sm font-body text-brand-dark hover:bg-brand-ecru hover:text-brand-olive transition-colors",onClick:()=>w(null),children:e.label},e.path):null})})})]},e.label):null})}),(0,t.jsxs)("div",{className:"flex items-center gap-2 sm:gap-4 min-w-0",children:[(0,t.jsx)(c.LocationSwitcher,{locationTree:p}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)("button",{onClick:()=>g(!b),className:"flex items-center gap-1.5 text-sm font-body font-medium uppercase tracking-wider text-brand-dark hover:text-brand-olive",children:[h[L],(0,t.jsx)("span",{className:"text-[10px] sm:text-sm",children:L})]}),b&&(0,t.jsx)("div",{className:"absolute top-full right-0 mt-1 bg-white shadow-lg border border-brand-grey/20 py-1 min-w-[80px]",children:m.filter(e=>e.code!==L).map(e=>(0,t.jsxs)("button",{onClick:()=>M(e.code),className:"flex items-center gap-1.5 w-full text-left px-3 py-1.5 text-sm font-body text-brand-dark hover:bg-brand-ecru",children:[h[e.code],e.label]},e.code))})]}),(0,t.jsx)("div",{className:"hidden sm:block",children:(0,t.jsx)(d.BookNowButton,{label:B.bookNow,className:"inline-flex items-center justify-center px-6 py-2.5 bg-brand-dark text-white text-xs font-body font-medium uppercase tracking-[0.15em] hover:bg-brand-clay transition-colors"})}),(0,t.jsx)("button",{className:"lg:hidden p-2",onClick:()=>x(!f),"aria-label":f?"Close menu":"Open menu",children:(0,t.jsxs)("div",{className:"w-6 flex flex-col gap-1.5",children:[(0,t.jsx)("span",{className:`block h-px bg-brand-dark transition-transform ${f?"rotate-45 translate-y-[5px]":""}`}),(0,t.jsx)("span",{className:`block h-px bg-brand-dark transition-opacity ${f?"opacity-0":""}`}),(0,t.jsx)("span",{className:`block h-px bg-brand-dark transition-transform ${f?"-rotate-45 -translate-y-[5px]":""}`})]})})]})]})}),f&&(0,t.jsx)("div",{className:`lg:hidden border-t border-brand-grey/20 bg-brand-light overflow-y-auto overscroll-contain ${k?"max-h-[calc(100dvh-3.5rem)]":"max-h-[calc(100dvh-4rem)] sm:max-h-[calc(100dvh-6rem)]"}`,children:(0,t.jsxs)("nav",{className:"px-4 py-6 space-y-4",children:[$.map(e=>{let a=u(e,L,S);return a?(0,t.jsxs)("div",{children:[(0,t.jsx)(r.default,{href:a,className:"block text-sm font-body font-medium uppercase tracking-widest text-brand-dark py-2",onClick:()=>x(!1),children:e.label}),e.children&&(0,t.jsx)("div",{className:"pl-4 space-y-1",children:e.children.map(e=>{let a=u(e,L,S);return a?(0,t.jsx)(r.default,{href:a,className:"block text-sm font-body text-brand-olive py-1.5",onClick:()=>x(!1),children:e.label},e.path):null})})]},e.label):null}),(0,t.jsx)(d.BookNowButton,{label:B.bookNow,className:"w-full mt-4 px-6 py-3 bg-brand-dark text-white text-xs font-body font-medium uppercase tracking-[0.15em] hover:bg-brand-clay transition-colors justify-center",onClose:()=>x(!1)})]})})]})}])},35709,e=>{"use strict";var t=e.i(20502);function a(e){let t=e.split("#")[0].split("?")[0];return t.endsWith("/")?t:t+"/"}e.s(["activeBarKey",0,function(e,n){let r=a(n);if(r===a(e.hubHref))return"overview";
1let s=r.split("/").filter(Boolean);if(s.length>=3&&(0,t.isRetreatSlug)(s[2]))return"retreats";for(let t of e.items)if("overview"!==t.key&&"retreats"!==t.key&&"directions"!==t.key&&a(t.href)===r)return t.key;return null},"activeTopId",0,function(e,a){let n;if(!e)return null;let r=0===(n=a.split("/").filter(Boolean)).length?"/":"/"+n.slice(1).join("/")+"/",s=r.split("/").filter(Boolean)[0]||"",i=null!==(0,t.getLocationFromPath)(a);for(let a of e.items)for(let e of a.match)if("*retreat*"===e&&!i&&s&&(0,t.isRetreatSlug)(s)||"*location*"===e&&i||"*retreat*"!==e&&"*location*"!==e&&r.startsWith(e))return a.id;return null},"barForPath",0,function(e,a){if(!e)return null;let n=(0,t.getLocationFromPath)(a);return n?e.bars[n]??null:null}])},35927,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(22016),r=e.i(18566),s=e.i(35709);e.s(["NavMenu",0,function({item:e,sections:n,children:i}){let[o,l]=(0,a.useState)(!1),c=(0,a.useRef)(null),d=(0,r.usePathname)(),u=(0,a.useId)(),h=`nav2-panel-${e.id}`,m=`nav2-button-${e.id}-${u.replace(/[^a-zA-Z0-9]/g,"")}`,p=(0,s.activeTopId)(n,d)===e.id,f=(0,a.useRef)(null),x=(0,a.useCallback)(()=>{f.current&&(clearTimeout(f.current),f.current=null)},[]),b=(0,a.useCallback)(()=>{x(),f.current=setTimeout(()=>l(!1),150)},[x]);(0,a.useEffect)(()=>x,[x]);let[g,v]=(0,a.useState)(d);return g!==d&&(v(d),l(!1)),(0,a.useEffect)(()=>{if(!o)return;let e=e=>{"Escape"===e.key&&(l(!1),c.current?.querySelector("button")?.focus())},t=e=>{c.current&&!c.current.contains(e.target)&&l(!1)};return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t)}},[o]),(0,t.jsxs)("li",{ref:c,className:"nav2-item","data-kind":e.kind,"data-open":o?"true":"false",onMouseEnter:()=>{x(),l(!0)},onMouseLeave:b,onBlur:e=>{c.current&&!c.current.contains(e.relatedTarget)&&l(!1)},children:[(0,t.jsxs)("button",{type:"button",id:m,className:"nav2-top","aria-expanded":o,"aria-controls":h,"aria-haspopup":"true","data-active":p?"true":"false",onClick:()=>l(e=>!e),children:[e.label,(0,t.jsx)("svg",{viewBox:"0 0 10 10","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1 3l4 4 4-4",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})})]}),(0,t.jsx)("div",{id:h,className:`nav2-panel ${"retreats_list"===e.kind?"nav2-panel--retreats":"destinations"===e.kind?"nav2-panel--dest":"nav2-panel--links"}`,role:"region","aria-labelledby":m,onClick:e=>{e.target.closest("a")&&l(!1)},children:i})]})},"NavTopLink",0,function({item:e,sections:a}){let i=(0,r.usePathname)(),o=(0,s.activeTopId)(a,i)===e.id;return(0,t.jsx)("li",{className:"nav2-item","data-kind":"link",children:(0,t.jsx)(n.default,{href:e.href??"#",className:"nav2-top","data-active":o?"true":"false","aria-current":o?"page":void 0,children:e.label})})}])},93846,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(18566),r=e.i(99061);let s={en:(0,t.jsxs)("svg",{viewBox:"0 0 60 30",width:"18",height:"9","aria-hidden":"true",children:[(0,t.jsx)("clipPath",{id:"nav2-s",children:(0,t.jsx)("path",{d:"M0,0 v30 h60 v-30 z"})}),(0,t.jsx)("clipPath",{id:"nav2-t",children:(0,t.jsx)("path",{d:"M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"})}),(0,t.jsxs)("g",{clipPath:"url(#nav2-s)",children:[(0,t.jsx)("path",{d:"M0,0 v30 h60 v-30 z",fill:"#012169"}),(0,t.jsx)("path",{d:"M0,0 L60,30 M60,0 L0,30",stroke:"#fff",strokeWidth:"6"}),(0,t.jsx)("path",{d:"M0,0 L60,30 M60,0 L0,30",clipPath:"url(#nav2-t)",stroke:"#C8102E",strokeWidth:"4"}),(0,t.jsx)("path",{d:"M30,0 v30 M0,15 h60",stroke:"#fff",strokeWidth:"10"}),(0,t.jsx)("path",{d:"M30,0 v30 M0,15 h60",stroke:"#C8102E",strokeWidth:"6"})]})]}),es:(0,t.jsxs)("svg",{viewBox:"0 0 750 500",width:"18",height:"12","aria-hidden":"true",children:[(0,t.jsx)("rect",{width:"750",height:"500",fill:"#c60b1e"}),(0,t.jsx)("rect",{width:"750",height:"250",y:"125",fill:"#ffc400"})]}),nl:(0,t.jsxs)("svg",{viewBox:"0 0 900 600",width:"18",height:"12","aria-hidden":"true",children:[(0,t.jsx)("rect",{width:"900",height:"200",fill:"#AE1C28"}),(0,t.jsx)("rect",{width:"900",height:"200",y:"200",fill:"#FFF"}),(0,t.jsx)("rect",{width:"900",height:"200",y:"400",fill:"#21468B"})]})};function i(){let e=(0,n.usePathname)(),t=(0,n.useRouter)(),s=(0,r.getLangFromPath)(e),i=(0,a.useCallback)(async a=>
1{let n=e.split("/").filter(Boolean).slice(1).join("/");if(!n)return void t.push(`/${a}/`);try{let e=await fetch(`/api/translate-slug?slug=${encodeURIComponent(n)}&from=${s}&to=${a}`),r=await e.json();t.push(`/${a}/${r.slug}/`)}catch{t.push(`/${a}/${n}/`)}},[e,s,t]);return{currentLang:s,switchLanguage:i}}e.s(["LangRow",0,function({label:e}){let{currentLang:a,switchLanguage:n}=i();return(0,t.jsx)("div",{className:"nav2-langrow",role:"group","aria-label":e,children:r.LANGUAGES.map(e=>(0,t.jsx)("button",{type:"button",lang:e,"aria-current":e===a?"true":void 0,onClick:()=>e!==a&&n(e),children:e},e))})},"LangSwitcher",0,function({label:e}){let{currentLang:n,switchLanguage:o}=i(),[l,c]=(0,a.useState)(!1),d=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(!l)return;let e=e=>{"Escape"===e.key&&c(!1)},t=e=>{d.current&&!d.current.contains(e.target)&&c(!1)};return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t)}},[l]),(0,t.jsxs)("div",{ref:d,className:"nav2-lang","data-open":l?"true":"false",children:[(0,t.jsxs)("button",{type:"button","aria-expanded":l,"aria-controls":"nav2-lang-menu","aria-label":`${e}: ${n.toUpperCase()}`,onClick:()=>c(e=>!e),children:[s[n],(0,t.jsx)("span",{children:n}),(0,t.jsx)("svg",{viewBox:"0 0 10 10",width:"9",height:"9","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1 3l4 4 4-4",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})})]}),(0,t.jsx)("ul",{id:"nav2-lang-menu",children:r.LANGUAGES.filter(e=>e!==n).map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",lang:e,onClick:()=>{c(!1),o(e)},children:[s[e],e.toUpperCase()]})},e))})]})},"useSwitchLanguage",0,i])},23325,e=>{"use strict";var t=e.i(43476),a=e.i(18287);e.s(["HeaderBookButton",0,function({model:e,className:n="nav2-book"}){return(0,t.jsx)(a.BookNowButton,{label:e.bookLabel,className:n})},"MobileBookBar",0,function({model:e}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"nav2-mbook-spacer","aria-hidden":"true"}),(0,t.jsx)("div",{className:"nav2-mbook",children:(0,t.jsx)(a.BookNowButton,{label:e.bookLabel,className:"nav2-book"})})]})}])},34410,e=>{"use strict";var t=e.i(43476),a=e.i(22016),n=e.i(18566),r=e.i(4346),s=e.i(35709);e.s(["PropertyBar",0,function({model:e,locationTree:i}){let o=(0,n.usePathname)(),l=(0,s.barForPath)(e,o);if(!l)return null;let c=(0,s.activeBarKey)(l,o),d=Object.values(e.bars).map(e=>({slug:e.slug,name:e.name,line:e.airportLine,statusLine:e.statusLine}));return(0,t.jsx)("div",{className:"nav2-pbar","data-property-bar":l.slug,children:(0,t.jsxs)("nav",{className:"nav2-wrap","aria-label":l.name,children:[(0,t.jsx)(r.LocationSwitcher,{variant:"bar",locationTree:i,locations:d,switchLabel:e.ui.switchDestination}),l.statusLine&&(0,t.jsx)("span",{className:"nav2-pstatus",title:l.statusLine,children:l.statusLine}),(0,t.jsx)("ul",{className:"nav2-plinks",children:l.items.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(a.default,{href:e.href,"aria-current":c===e.key?"page":void 0,"data-key":e.key,children:e.label})},e.key))})]})})}])},28096,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(22016),r=e.i(18566),s=e.i(93846);function i({id:e,label:n,children:r}){let[s,o]=(0,a.useState)(!1),l=`nav2-acc-${e}`;return(0,t.jsxs)("div",{className:"nav2-acc","data-open":s?"true":"false",children:[(0,t.jsxs)("button",{type:"button","aria-expanded":s,"aria-controls":l,onClick:()=>o(e=>!e),children:[n,(0,t.jsx)("svg",{viewBox:"0 0 12 12","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M2 4l4 4 4-4",f
1ill:"none",stroke:"currentColor",strokeWidth:"1.5"})})]}),(0,t.jsx)("div",{id:l,className:"nav2-abody",children:r})]})}function o({item:e,model:a}){let r=a.retreats,s=r.dayRow?[...r.rows,r.dayRow]:r.rows;return(0,t.jsx)(i,{id:e.id,label:e.label,children:(0,t.jsxs)("ul",{children:[s.map(e=>(0,t.jsxs)("li",{className:"nav2-mrow",children:[(0,t.jsx)(n.default,{href:e.href,children:e.label}),(0,t.jsx)("span",{className:"nav2-mtags",children:e.slots.map(e=>e?(0,t.jsx)(n.default,{href:e.href,"data-loc":e.location,children:e.label},e.location):null)})]},e.slug)),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:r.compare.href,children:r.compare.label})})]})})}function l({item:e,model:a}){return(0,t.jsx)(i,{id:e.id,label:e.label,children:a.destinations.cards.map(e=>(0,t.jsxs)("div",{className:"nav2-sub",children:[(0,t.jsx)("div",{className:"nav2-st",children:(0,t.jsx)(n.default,{href:e.explore.href,children:e.name})}),(0,t.jsx)("div",{className:"nav2-ss","data-pre":e.preOpening?"true":"false",children:e.statusLine}),(0,t.jsx)("ul",{children:(a.bars[e.slug]?.items??e.links).map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:e.href,children:e.label})},e.href))})]},e.slug))})}e.s(["MobileDrawer",0,function({model:e}){let[c,d]=(0,a.useState)(!1),u=(0,r.usePathname)(),h=(0,a.useRef)(null),m=(0,a.useRef)(null),p=(0,a.useRef)(!1),[f,x]=(0,a.useState)(u);return f!==u&&(x(u),d(!1)),(0,a.useEffect)(()=>(c?(document.body.style.overflow="hidden",m.current?.focus(),p.current=!0):(document.body.style.overflow="",p.current&&(h.current?.focus(),p.current=!1)),()=>{document.body.style.overflow=""}),[c]),(0,a.useEffect)(()=>{if(!c)return;let e=e=>{"Escape"===e.key&&d(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[c]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{ref:h,type:"button",className:"nav2-burger","aria-expanded":c,"aria-controls":"nav2-drawer","aria-label":c?e.ui.closeMenu:e.ui.openMenu,onClick:()=>d(e=>!e),children:(0,t.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3 6h18M3 12h18M3 18h18",stroke:"currentColor",strokeWidth:"1.6",fill:"none"})})}),(0,t.jsxs)("div",{id:"nav2-drawer",className:"nav2-drawer","data-open":c?"true":"false",role:"dialog","aria-modal":c?"true":void 0,"aria-label":e.ui.menu,"aria-hidden":c?void 0:"true",onClick:e=>{e.target.closest("a")&&d(!1)},children:[(0,t.jsxs)("div",{className:"nav2-dtop",children:[(0,t.jsx)(n.default,{href:e.homeHref,className:"nav2-logo",style:{fontFamily:"var(--font-heading, Lora, serif)",letterSpacing:"0.18em",textTransform:"uppercase",fontSize:14,textDecoration:"none",color:"inherit"},children:"Shanti-Som"}),(0,t.jsxs)("button",{ref:m,type:"button",onClick:()=>d(!1),children:[e.ui.closeMenu," â"]})]}),(0,t.jsx)("div",{children:e.items.map(a=>"retreats_list"===a.kind?(0,t.jsx)(o,{item:a,model:e},a.id):"destinations"===a.kind?(0,t.jsx)(l,{item:a,model:e},a.id):"links"===a.kind?(0,t.jsx)(i,{id:a.id,label:a.label,children:(0,t.jsx)("ul",{children:a.children.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:e.href,children:e.label})},e.href))})},a.id):(0,t.jsx)("div",{className:"nav2-acc",children:(0,t.jsx)(n.default,{href:a.href??"#",children:a.label})},a.id))}),(0,t.jsx)(s.LangRow,{label:e.ui.language})]})]})}])},64208,e=>{"use strict";var t=e.i(43476),a=e.i(57688),n=e.i(71645),r=e.i(22016),s=e.i(18566),i=e.i(2331),o=e.i(99061),l=e.i(20502);let c={"business-insider.svg":{label:"Business Insider",scale:.62},"conde-nast-traveler.svg":{label:"Condé Nast Traveler",scale:1.45},"country-living.svg":{label:"Country Living",scale:.78},"elle.svg":{label:"Elle",scale:.8},"guia-repsol.svg":{label:"GuÃa Repsol",scale:.95},"harpers-bazaar.svg":{label:"Harper's Bazaar",scale:1.15},"lofficiel.svg":{label:"L'Officiel",scale:.92},"qantas.svg":{label:"Qantas Travel Insider",scale:.7},"telegraph.svg":{label:"The Telegraph",scale:1},"vogue.svg":{label:"Vogue",scale:.72},"womens-health.svg":{label:"Women's Health",scale:1.05}};function d(e){return`/images/press/${e}`}function u(e){return Math.round(20*(c[e]?.scale??1))}function h({items:e,lang:a}){let n=(0,i.t)(a),s=e.filter(e=>e.showInFooter);if(s.length<3)return null;let o=[...s].sort((e,t)=>
1(e.language!==a)-(t.language!==a));return(0,t.jsx)("section",{className:"border-t border-white/10","aria-labelledby":"press-strip-heading",children:(0,t.jsxs)("div",{className:"mx-auto max-w-layout px-4 sm:px-6 lg:px-8 py-8",children:[(0,t.jsx)("h2",{id:"press-strip-heading",className:"font-body text-xs uppercase tracking-[0.2em] text-white/45 text-center mb-6",children:n.pressEyebrow}),(0,t.jsx)("div",{className:`press-marquee${o.length<7?" is-static":""}`,children:(0,t.jsxs)("div",{className:"press-scroller",children:[(0,t.jsx)("ul",{className:"press-row",children:o.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:`/${a}/press/`,className:"block opacity-70 hover:opacity-100 transition-opacity focus-visible:opacity-100",children:(0,t.jsx)("img",{src:d(e.logo),alt:c[e.logo]?.label||e.publication,style:{height:`${u(e.logo)}px`},className:"press-logo",loading:"lazy",decoding:"async"})})},e.articleUrl))}),(0,t.jsx)("ul",{className:"press-row press-clone","aria-hidden":"true",children:o.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)("img",{src:d(e.logo),alt:"",style:{height:`${u(e.logo)}px`},className:"press-logo opacity-70",loading:"lazy",decoding:"async"})},`clone-${e.articleUrl}`))})]})})]})})}let m="marbella",p={marbella:"https://www.instagram.com/shantisommarbella",algarve:"https://www.instagram.com/shantisomalgarve"},f=[{label:"Facebook",href:"https://www.facebook.com/shantisomretreat",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})},{label:"Instagram",href:p[m],hrefByLocation:p,icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})})}
1,{label:"TikTok",href:"https://www.tiktok.com/@shanti_som",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"})})}],x=` 2 .hs-form { font-family: 'Montserrat', sans-serif !important; display: flex !important; gap: 0.75rem !important; max-width: 28rem !important; margin: 0 auto !important; } 3 .hs-form fieldset { max-width: none !important; flex: 1 !important; margin: 0 !important; padding: 0 !important; } 4 .hs-form .field { margin-bottom: 0 !important; } 5 .hs-form label { display: none !important; } 6 .hs-form .hs-input { font-family: 'Montserrat', sans-serif !important; font-size: 0.875rem !important; background: rgba(255,255,255,0.1) !important; border: 1px solid rgba(255,255,255,0.2) !important; border-radius: 0 !important; padding: 0.75rem 1rem !important; color: white !important; width: 100% !important; } 7 .hs-form .hs-input:focus { outline: none !important; border-color: rgba(255,255,255,0.4) !important; } 8 .hs-form .hs-input::placeholder { color: rgba(255,255,255,0.5) !important; } 9 .hs-form .hs-submit { margin: 0 !important; } 10 .hs-form .hs-submit .actions { padding: 0 !important; } 11 .hs-form .hs-button { font-family: 'Montserrat', sans-serif !important; font-size: 0.75rem !important; font-weight: 500 !important; text-transform: uppercase !important; letter-spacing: 0.15em !important; background: #6C705F !important; color: white !important; border: none !important; border-radius: 0 !important; padding: 0.75rem 1.5rem !important; cursor: pointer !important; transition: background-color 0.2s !important; white-space: nowrap !important; } 12 .hs-form .hs-button:hover { background: rgba(108,112,95,0.8) !important; } 13 .hs-form .hs-error-msg { font-family: 'Montserrat', sans-serif !important; font-size: 0.7rem !important; color: #fca5a5 !important; margin-top: 0.25rem !important; } 14 .hs-form .legal-consent-container { display: none !important; } 15 .hs-form input[type="checkbox"] { width: auto !important; } 16 .submitted-message { font-family: 'Montserrat', sans-serif !important; font-size: 0.875rem !important; text-align: center !important; color: white !important; padding: 0.75rem 0 !important; } 17 @media (max-width: 640px) { 18 .hs-form { flex-direction: column !important; } 19 } 20`;e.s(["SiteFooter",0,function({footerColumns:e,pressItems:c}){let d=(0,s.usePathname)(),u=(0,o.getLangFromPath)(d),p=(0,l.getLocationFromPath)(d),b=e||(0,i.getFooterNav)(u),g=(0,i.t)(u),v=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let e=()=>{window.hbspt&&v.current&&(v.current.innerHTML="",window.hbspt.forms.create({portalId:"20036536",formId:"dd84ae37-5865-4d36-b41b-a18e24c2ddea",target:"#hsform-newsletter",region:"na1",cssRequired:x}))};(()=>{if(window.hbspt)return e();let t=document.createElement("script");t.src="//js.hsforms.net/forms/embed/v2.js",t.async=!0,t.onload=()=>setTimeout(e,100),document.head.appendChild(t)})()},[]),(0,t.jsxs)("footer",{className:"bg-brand-dark text-white",children:[(0,t.jsx)("div",{className:"border-b border-white/10",children:(0,t.jsxs)("div",{className:"mx-auto max-w-layout px-4 sm:px-6 lg:px-8 py-12 text-center",children:[(0,t.jsx)("h3",{className:"font-heading text-2xl md:text-3xl mb-2",children:g.stayInspired}),(0,t.jsx)("p",{className:"font-body text-sm text-white/70 mb-6 max-w-md mx-auto",children:g.newsletterDescription}),(0,t.jsx)("div",{id:"hsform-newsletter",ref:v,className:"max-w-md mx-auto"})]})}),(0,t.jsx)("div",{className:"mx-auto max-w-layout px-4 sm:px-6 lg:px-8 py-12",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-5 ga
20p-8",children:[(0,t.jsxs)("div",{className:"col-span-2 md:col-span-1",children:[(0,t.jsx)(r.default,{href:`/${u}/`,className:"inline-block mb-4",children:(0,t.jsx)(a.default,{src:"/images/logo-primary-white.png",alt:"Shanti-Som Wellbeing Retreat",width:280,height:78,sizes:"140px",className:"h-10 w-auto"})}),(0,t.jsx)("p",{className:"text-sm text-white/60 font-body leading-relaxed mb-6",children:g.wellbeingRetreat}),(0,t.jsx)("div",{className:"flex gap-4",children:f.map(e=>{let a=e.hrefByLocation?.[p||m]||e.href;return(0,t.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"text-white/60 hover:text-white transition-colors","aria-label":e.label,children:e.icon},e.label)})})]}),b.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{className:"font-body text-xs font-semibold uppercase tracking-[0.15em] mb-4",children:e.heading}),(0,t.jsx)("ul",{className:"space-y-2.5",children:e.links.map(e=>{let a=function(e){if(e.locationScoped){let t=p||m;if(e.pathByLocation&&!(t in e.pathByLocation))return null;let a=e.pathByLocation?.[t]||e.path;return a.startsWith(`/${u}/`)?a:`/${u}/${t}${a}`}let t=e.path.replace(/^\/|\/$/g,"");if((0,l.isRetreatSlug)(t)&&p){if(e.pathByLocation&&!(p in e.pathByLocation))return`/${u}${e.path}`;let t=e.pathByLocation?.[p]||e.path;return`/${u}/${p}${t}`}return`/${u}${e.path}`}(e);return a?(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:a,className:"text-sm font-body text-white/60 hover:text-white transition-colors",children:e.label})},e.path):null})})]},e.heading))]})}),c&&c.length>0&&(0,t.jsx)(h,{items:c,lang:u}),(0,t.jsx)("div",{className:"border-t border-white/10 pr-[5.5rem]",children:(0,t.jsxs)("div",{className:"mx-auto max-w-layout px-4 sm:px-6 lg:px-8 pb-24 sm:pb-6 py-6 flex flex-col sm:flex-row justify-between items-center gap-4",children:[(0,t.jsxs)("p",{className:"text-xs font-body text-white/40",children:["© ",new Date().getFullYear()," Shanti-Som Wellbeing Retreat. ",g.allRightsReserved]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-x-6 gap-y-2 justify-center sm:justify-end",children:[(0,t.jsx)(r.default,{href:`/${u}/privacy-policy/`,className:"text-xs font-body text-white/40 hover:text-white/70 transition-colors",children:g.privacyPolicy}),(0,t.jsx)(r.default,{href:`/${u}/terms-conditions/`,className:"text-xs font-body text-white/40 hover:text-white/70 transition-colors",children:g.termsConditions}),(0,t.jsx)(r.default,{href:`/${u}/cookie-policy/`,className:"text-xs font-body text-white/40 hover:text-white/70 transition-colors",children:g.cookiePolicy})]})]})})]})}],64208)},60127,e=>{"use strict";var t=e.i(43476),a=e.i(71645);let n=` 21 .hs-form { font-family: 'Montserrat', sans-serif !important; display: flex !important; gap: 0.5rem !important; max-width: 100% !important; margin: 0 !important; } 22 .hs-form fieldset { max-width: none !important; flex: 1 !important; margin: 0 !important; padding: 0 !important; } 23 .hs-form .field { margin-bottom: 0 !important; } 24 .hs-form label { display: none !important; } 25 .hs-form .hs-input { font-family: 'Montserrat', sans-serif !important; font-size: 0.875rem !important; background: rgba(255,255,255,0.08) !important; border: 1px solid rgba(241,237,227,0.25) !important; border-radius: 0 !important; padding: 0.7rem 0.9rem !important; color: #F1EDE3 !important; width: 100% !important; } 26 .hs-form .hs-input:focus { outline: none !important; border-color: rgba(241,237,227,0.6) !important; } 27 .hs-form .hs-input::placeholder { color: rgba(241,237,227,0.5) !important; } 28 .hs-form .hs-submit { margin: 0 !important; } 29 .hs-form .hs-submit .actions { padding: 0 !important; } 30 .hs-form .hs-button { font-family: 'Montserrat', sans-serif !important; font-size: 0.7rem !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 0.15em !important; background: #6C705F !important; color: #fff !important; border: none !important; border-radius: 0 !important; padding: 0.7rem 1.1rem !important; cursor: pointer !important; white-space: nowrap !important; } 31 .hs-form .hs-button:hover { background: #5b5f50 !important; } 32 .hs-form .hs-error-msg { font-family: 'Montserrat', sans-serif !important; font-size: 0.7rem !important; color: #f3b7b7 !important; margin-top: 0.25rem !important; } 33 .hs-form .legal-consent-container { display: none !important; } 34 .hs-form input[type="checkbox"] { width: auto !important; } 35 .submitted-message { font-family: 'Montserrat', sans-serif !important; font-size: 0.875rem !important; color: #F1EDE3 !important; padding: 0.5rem 0 !important; } 36 @media (max-width: 480px) { .hs-form { flex-direction: column !important; } } 37`;e.s(["NewsletterForm",0,function({portalId:e,formId:r,targetId:s}){let i=(0,a.useRef)(null);return(0,a.useEffect)(()=>
37{if(!r)return;let t=!1,a=()=>{!t&&window.hbspt&&i.current&&(i.current.innerHTML="",window.hbspt.forms.create({portalId:e,formId:r,target:`#${s}`,region:"na1",cssRequired:n}))};if(window.hbspt)a();else{let e=document.querySelector('script[src*="js.hsforms.net/forms/embed/v2.js"]');if(e)e.addEventListener("load",()=>setTimeout(a,100),{once:!0});else{let e=document.createElement("script");e.src="//js.hsforms.net/forms/embed/v2.js",e.async=!0,e.onload=()=>setTimeout(a,100),document.head.appendChild(e)}}return()=>{t=!0}},[e,r,s]),(0,t.jsx)("div",{id:s,ref:i,className:"ft2-nl"})}])},84114,e=>{"use strict";var t=e.i(43476),a=e.i(18566),n=e.i(18287),r=e.i(2331);e.s(["MobileBookNow",0,function(){let e=(0,a.usePathname)().split("/").filter(Boolean)[0]||"en",s=(0,r.t)(e);return(0,t.jsx)("div",{className:"fixed bottom-5 left-4 z-40 lg:hidden",children:(0,t.jsx)(n.BookNowButton,{label:s.bookNow,className:"inline-flex items-center justify-center px-5 py-3 bg-brand-dark text-white text-xs font-body font-medium uppercase tracking-[0.15em] hover:bg-brand-clay transition-colors shadow-lg rounded-sm"})})}])},75885,e=>{"use strict";var t=e.i(71645),a=e.i(18566),n=e.i(80946);e.s(["MetaPageTracker",0,function(){let e=(0,a.usePathname)(),r=(0,t.useRef)(null);return(0,t.useEffect)(()=>{if(r.current===e)return;r.current=e;let t=e.split("/").filter(Boolean);t[0];let a=t[1]||"home",s=t[t.length-1]||"home";setTimeout(()=>{(0,n.trackMetaEvent)("ViewContent",{contentName:document.title||s,contentCategory:a,contentIds:[e]})},100)},[e]),null}])},34754,e=>{"use strict";var t=e.i(43476),a=e.i(71645);e.s(["ChatLauncher",0,function(){let[e,n]=(0,a.useState)(!1),[r,s]=(0,a.useState)(!1),i=(0,a.useRef)(!1),o=(0,a.useRef)(!1),l=(0,a.useCallback)(()=>{let e=window.HubSpotConversations;if(e&&e.widget){let t=!1;try{t=!!e.widget.status().loaded}catch{}if(t){try{e.widget.open()}catch{}o.current=!0,n(!0);return}}if(i.current)return;i.current=!0,s(!0);let t=()=>{try{window.HubSpotConversations.on("widgetLoaded",()=>{window.setTimeout(()=>{try{window.HubSpotConversations.widget.open()}catch{}o.current=!0,n(!0)},100)})}catch{}try{window.HubSpotConversations.widget.load({widgetOpen:!0})}catch{try{window.HubSpotConversations.widget.open()}catch{}}};if(e&&e.widget)t();else if(window.hsConversationsOnReady=window.hsConversationsOnReady||[],window.hsConversationsOnReady.push(t),!document.getElementById("hs-script-loader")){let e=document.createElement("script");e.id="hs-script-loader",e.async=!0,e.crossOrigin="anonymous",e.setAttribute("data-cookieconsent","ignore"),e.src="//js.hs-scripts.com/20036536.js",document.head.appendChild(e)}window.setTimeout(()=>{o.current||(s(!1),i.current=!1)},18e3)},[]);return e?null:(0,t.jsx)("button",{type:"button",onClick:l,disabled:r,"aria-label":r?"Loading chat":"Chat with us","aria-busy":r,className:"fixed bottom-5 right-4 z-40 flex h-14 w-14 items-center justify-center rounded-full shadow-lg transition-transform hover:scale-105 disabled:opacity-90",style:{backgroundColor:"#CDC4BB",color:"#33475B"},children:r?(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",className:"animate-spin","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})}):(0,t.jsxs)("svg",{width:"28",height:"27",viewBox:"0 0 28 27",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M10.5 3.5h12a2.5 2.5 0 0 1 2.5 2.5v7.5a2.5 2.5 0 0 1-2.5 2.5h-2"}),(0,t.jsx)("path",{d:"M5.5 7.5h11.5a2.5 2.5 0 0 1 2.5 2.5v7a2.5 2.5 0 0 1-2.5 2.5H10l-4.5 4v-4a2.5 2.5 0 0 1-2.5-2.5v-7a2.5 2.5 0 0 1 2.5-2.5Z"})]})})}])},91384,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(20502);function r(e,t){try{let a=window;a.dataLayer=a.dataLayer||[],a.dataLayer.push({event:e,page_path:window.location.pathname,...t})}catch{}}function s(e,t){r("chat_channel_selected",{channel:e,...t})}let i=e=>e?` (${e})`:"",o={launcherOpen:"Contact us",launcherClose:"Close contact options",title:"How can we help?",statusOpen:"Our reservations team is online now.",statusClosed:"We reply Monday to Frid
37ay, 9:00 to 17:00 CET. Leave a message and we'll get back to you.",whatsappTitle:"WhatsApp",whatsappSub:"Message us from your phone. Our reply comes straight back to you.",webTitle:"Chat here",webSub:"Type your question. No forms.",webLoading:"Opening chatâ¦",webFailed:"The chat couldn't open in this browser. Please use WhatsApp or call us.",callPrompt:"Prefer to talk? Call",close:"Close",prefillRetreat:(e,t)=>`Hi Shanti-Som, I have a question about: ${e}${i(t)}`,prefillLocation:e=>`Hi Shanti-Som, I have a question about Shanti-Som ${e}.`,prefillGeneric:"Hi Shanti-Som, I have a question."},l={en:o,es:{launcherOpen:"Contacta con nosotros",launcherClose:"Cerrar opciones de contacto",title:"¿Cómo podemos ayudarte?",statusOpen:"Nuestro equipo de reservas está disponible ahora.",statusClosed:"Respondemos de lunes a viernes, de 9:00 a 17:00 (CET). Déjanos un mensaje y te contestaremos.",whatsappTitle:"WhatsApp",whatsappSub:"EscrÃbenos desde tu móvil. La respuesta te llega directamente.",webTitle:"Chatea aquÃ",webSub:"Escribe tu pregunta. Sin formularios.",webLoading:"Abriendo el chatâ¦",webFailed:"El chat no se ha podido abrir en este navegador. EscrÃbenos por WhatsApp o llámanos.",callPrompt:"¿Prefieres hablar? Llama al",close:"Cerrar",prefillRetreat:(e,t)=>
37`Hola Shanti-Som, tengo una pregunta sobre: ${e}${i(t)}`,prefillLocation:e=>`Hola Shanti-Som, tengo una pregunta sobre Shanti-Som ${e}.`,prefillGeneric:"Hola Shanti-Som, tengo una pregunta."},nl:{launcherOpen:"Neem contact op",launcherClose:"Contactopties sluiten",title:"Waarmee kunnen we helpen?",statusOpen:"Ons reserveringsteam is nu online.",statusClosed:"We reageren van maandag tot en met vrijdag, 9:00 tot 17:00 (CET). Laat een bericht achter, dan komen we bij je terug.",whatsappTitle:"WhatsApp",whatsappSub:"Stuur ons een bericht vanaf je telefoon. Ons antwoord komt direct bij je binnen.",webTitle:"Chat hier",webSub:"Typ je vraag. Geen formulieren.",webLoading:"Chat wordt geopendâ¦",webFailed:"De chat kon niet worden geopend in deze browser. Stuur ons een WhatsApp-bericht of bel ons.",callPrompt:"Liever bellen? Bel",close:"Sluiten",prefillRetreat:(e,t)=>`Hallo Shanti-Som, ik heb een vraag over: ${e}${i(t)}`,prefillLocation:e=>`Hallo Shanti-Som, ik heb een vraag over Shanti-Som ${e}.`,prefillGeneric:"Hallo Shanti-Som, ik heb een vraag."}},c=[1,2,3,4,5],d=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function u(){return(0,t.jsxs)("svg",{width:"28",height:"27",viewBox:"0 0 28 27",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M10.5 3.5h12a2.5 2.5 0 0 1 2.5 2.5v7.5a2.5 2.5 0 0 1-2.5 2.5h-2"}),(0,t.jsx)("path",{d:"M5.5 7.5h11.5a2.5 2.5 0 0 1 2.5 2.5v7a2.5 2.5 0 0 1-2.5 2.5H10l-4.5 4v-4a2.5 2.5 0 0 1-2.5-2.5v-7a2.5 2.5 0 0 1 2.5-2.5Z"})]})}function h({size:e=20}){return(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 6l12 12M18 6L6 18"})})}function m(){return(0,t.jsx)("svg",{className:"mt-0.5 h-5 w-5 shrink-0 text-brand-olive",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 5.5h16a1.5 1.5 0 0 1 1.5 1.5v9a1.5 1.5 0 0 1-1.5 1.5H10l-4.5 3.5V17.5H4A1.5 1.5 0 0 1 2.5 16V7A1.5 1.5 0 0 1 4 5.5Z"})})}function p(){return(0,t.jsx)("svg",{className:"mt-0.5 h-5 w-5 shrink-0 animate-spin text-brand-olive motion-reduce:animate-none",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}function f(){return(0,t.jsx)("svg",{className:"mt-0.5 h-5 w-5 shrink-0",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})})}e.s(["ChatPanel",0,function({lang:e,contacts:i,defaultSlug:x}){let b,g=l[e]||o,[v,w]=(0,a.useState)(!1),[j,y]=(0,a.useState)(!1),[k,N]=(0,a.useState)("idle"),[C,L]=(0,a.useState)(null),S=(0,a.useRef)(null),$=(0,a.useRef)(null),B=(0,a.useRef)(null),M=(0,a.useRef)(!1),E=(0,a.useRef)(!1),R=(0,a.useId)(),T=(0,a.useId)(),P=(0,a.useCallback)(()=>{let t=S.current;return{lang:e,location:t?.page.locationSlug||"",retreat:t?.page.retreatSlug||"",within_hours:!!t?.inHours}},[e]),z=(0,a.useCallback)(()=>{let e={page:function(){let e=window.location.pathname,t=(0,n.getLocationFromPath)(e)||"",a=e.split("/").filter(
37Boolean),r=t?a[2]:a[1],s="",i="";if(r&&(0,n.isRetreatSlug)(r)){s=(0,n.resolveRetreatSlug)(r);let e=document.querySelector("main h1")||document.querySelector("h1");i=(e?.textContent||"").replace(/\s+/g," ").trim().slice(0,90)}return{locationSlug:t,retreatSlug:s,retreatTitle:i}}(),inHours:function(e=new Date){try{let t=new Intl.DateTimeFormat("en-GB",{timeZone:"Europe/Madrid",weekday:"short",hour:"numeric",hourCycle:"h23"}).formatToParts(e),a=d.indexOf(t.find(e=>"weekday"===e.type)?.value??""),n=Number(t.find(e=>"hour"===e.type)?.value??"-1");return c.includes(a)&&n>=9&&n<17}catch{return!1}}()};S.current=e,L(e),w(!0),r("chat_panel_opened",{...P()})},[P]),F=(0,a.useCallback)((e=!0)=>{w(!1),e&&B.current?.focus()},[]);(0,a.useEffect)(()=>{if(!v)return;$.current?.querySelector("[data-chat-option]")?.focus();let e=e=>{"Escape"===e.key&&F()},t=e=>{let t=e.target;$.current?.contains(t)||B.current?.contains(t)||F(!1)};return document.addEventListener("keydown",e),document.addEventListener("pointerdown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("pointerdown",t)}},[v,F]);let O=(0,a.useCallback)(()=>{s("web_chat",P());let e=()=>{E.current||(E.current=!0,w(!1),y(!0),r("chat_web_opened",{...P()}))},t=window.HubSpotConversations;if(t&&t.widget){let a=!1;try{a=!!t.widget.status().loaded}catch{}if(a){try{t.widget.open()}catch{}e();return}}if(M.current)return;M.current=!0,N("loading");let a=()=>{try{window.HubSpotConversations.on("widgetLoaded",()=>{window.setTimeout(()=>{try{window.HubSpotConversations.widget.open()}catch{}e()},100)})}catch{}try{window.HubSpotConversations.widget.load({widgetOpen:!0})}catch{try{window.HubSpotConversations.widget.open()}catch{}}};if(t&&t.widget)a();else if(window.hsConversationsOnReady=window.hsConversationsOnReady||[],window.hsConversationsOnReady.push(a),!document.getElementById("hs-script-loader")){let e=document.createElement("script");e.id="hs-script-loader",e.async=!0,e.crossOrigin="anonymous",e.setAttribute("data-cookieconsent","ignore"),e.src="//js.hs-scripts.com/20036536.js",document.head.appendChild(e)}window.setTimeout(()=>{E.current||(M.current=!1,N("failed"),r("chat_web_failed",{...P()}))},18e3)},[P]);if(j)return null;let H=C?.page,I=(b=H?.locationSlug||x,i.find(e=>e.slug===b)||i.find(e=>e.slug===x)||i[0]),W=H?.locationSlug&&I?.name||"",A=g.prefillGeneric;if(H?.retreatTitle){let e=W&&H.retreatTitle.toLowerCase().includes(W.toLowerCase());A=g.prefillRetreat(H.retreatTitle,e?"":W)}else W&&(A=g.prefillLocation(W));let _=(0,n.whatsappHref)(I?.whatsapp),D=_?`${_}?text=${encodeURIComponent(A)}`:"",q=(0,n.phoneHref)(I?.phone);return(0,t.jsxs)(t.Fragment,{children:[v&&(0,t.jsxs)("div",{ref:$,id:T,role:"dialog","aria-modal":"false","aria-labelledby":R,className:"fixed inset-x-4 bottom-24 z-50 flex flex-col gap-4 roun
37ded-2xl border border-brand-grey bg-brand-light p-5 text-brand-dark shadow-xl sm:inset-x-auto sm:right-4 sm:w-[22rem]",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("h2",{id:R,className:"font-heading text-xl leading-snug",children:g.title}),(0,t.jsx)("button",{type:"button",onClick:()=>F(),"aria-label":g.close,className:"-mr-1 -mt-1 rounded-full p-1.5 text-brand-clay hover:bg-brand-ecru focus-visible:outline focus-visible:outline-2 focus-visible:outline-brand-olive",children:(0,t.jsx)(h,{})})]}),(0,t.jsxs)("p",{className:"flex items-start gap-2 text-sm leading-relaxed text-brand-clay",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:`mt-1.5 inline-block h-2 w-2 shrink-0 rounded-full ${C?.inHours?"bg-brand-olive":"bg-brand-grey"}`}),(0,t.jsx)("span",{children:C?.inHours?g.statusOpen:g.statusClosed})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2.5",children:[D&&(0,t.jsxs)("a",{"data-chat-option":!0,href:D,target:"_blank",rel:"noopener noreferrer",onClick:()=>s("whatsapp",P()),className:"flex items-start gap-3 rounded-xl bg-brand-olive px-4 py-3 text-white transition-colors hover:bg-brand-clay focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-olive",children:[(0,t.jsx)(f,{}),(0,t.jsxs)("span",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"font-semibold",children:g.whatsappTitle}),(0,t.jsx)("span",{className:"text-sm opacity-90",children:g.whatsappSub})]})]}),(0,t.jsxs)("button",{"data-chat-option":!0,type:"button",onClick:O,disabled:"loading"===k,"aria-busy":"loading"===k,className:"flex w-full items-start gap-3 rounded-xl border border-brand-grey bg-white px-4 py-3 text-left transition-colors hover:border-brand-olive focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-olive disabled:cursor-wait",children:["loading"===k?(0,t.jsx)(p,{}):(0,t.jsx)(m,{}),(0,t.jsxs)("span",{className:"flex flex-col",children:[(0,t.jsx)("span",{className:"font-semibold",children:g.webTitle}),(0,t.jsx)("span",{className:"text-sm text-brand-clay",children:"loading"===k?g.webLoading:g.webSub})]})]}),"failed"===k&&(0,t.jsx)("p",{role:"status",className:"text-sm leading-relaxed text-brand-clay",children:g.webFailed})]}),q&&I?.phone&&(0,t.jsxs)("p",{className:"text-sm text-brand-clay",children:[g.callPrompt," ",(0,t.jsx)("a",{href:q,onClick:()=>s("phone",P()),className:"whitespace-nowrap font-semibold text-brand-dark underline decoration-brand-olive underline-offset-2 hover:text-brand-olive",children:I.phone})]})]}),(0,t.jsx)("button",{ref:B,type:"button",onClick:()=>v?F():z(),"aria-expanded":v,"aria-controls":v?T:void 0,"aria-label":v?g.launcherClose:g.launcherOpen,className:"fixed bottom-5 right-4 z-40 flex h-14 w-14 items-center justify-center rounded-full shadow-lg transition-transform hover:scale-105 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-brand-olive motion-reduce:transition-none motion-reduce:hover:scale-100",style:{backgroundColor:"#CDC4BB",color:"#33475B"},children:v?(0,t.jsx)(h,{size:24}):(0,t.jsx)(u,{})})]})}],91384)}]);
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.