(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5501],{498:(e,n,t)=>{"use strict";t.d(n,{o:()=>s});let s=(e,n)=>!!n.exec(e)},3316:e=>{e.exports={container:"style_container__oTsnF",leftContent:"style_leftContent__vFU_K",userName:"style_userName__kgA9q",rightContent:"style_rightContent__skl1m",contactInfo:"style_contactInfo__3uOTG",link:"style_link___Du8B",verticalBorder:"style_verticalBorder__V5owP",smallScreen:"style_smallScreen___gxKX",userWrapper:"style_userWrapper__tOn6u",userIcon:"style_userIcon__a7KK3",bookBtn:"style_bookBtn__joEly",bookLink:"style_bookLink__8BhG1",icon:"style_icon__xQ0ZH"}},9712:(e,n,t)=>{"use strict";t.d(n,{$:()=>r});var s=t(95155),a=t(29300),l=t.n(a),i=t(71980),o=t.n(i);let r=e=>{let{children:n,variant:t="primary",size:a="base",withIcon:i=!1,fill:r=!1,className:c,...d}=e,u=l()(o().button,o()[t],o()[a],{[o().withIcon]:i,[o().fill]:r},c);return(0,s.jsx)("button",{className:u,...d,children:n})}},10187:(e,n,t)=>{"use strict";t.d(n,{j:()=>i,y:()=>l});var s=t(23915),a=t(16203);let l=0===(0,s.Dk)().length?(0,s.Wp)({apiKey:"AIzaSyArzhmSuVQNCvq60YIBINwemRcnqoO0E08",appId:"1:260774426049:web:997394d794ae66c8392b40",authDomain:"canyon-ranch-app.firebaseapp.com",measurementId:"G-6VPD0953GG",messagingSenderId:"260774426049",projectId:"canyon-ranch-app",storageBucket:"canyon-ranch-app.firebasestorage.ap"}):(0,s.Sx)(),i=(0,a.xI)(l)},12581:(e,n,t)=>{"use strict";t.d(n,{u:()=>i});var s=t(12115),a=t(79737);let l=()=>(0,a.A)(),i=e=>{let n=(0,s.useRef)(null!=e?e:l()).current,t=t=>"".concat(e,"-").concat(n,"-").concat(t),a=e=>"#".concat(t(e));return{getHash:a,getId:t,getUrl:e=>"url(".concat(a(e),")"),id:n}}},14465:(e,n,t)=>{"use strict";t.d(n,{w:()=>l});var s=t(60523),a=t(63102);let l={components:{Button:{controlHeight:40,controlHeightLG:50,controlHeightSM:32,fontFamily:a.a.pn,paddingInlineLG:28},Carousel:{dotActiveWidth:8,dotHeight:8,dotWidth:8},Typography:{fontSizeHeading1:a.s.heading1,fontSizeHeading2:a.s.heading2,fontSizeHeading3:a.s.heading3,fontSizeHeading4:a.s.heading4,fontSizeHeading5:a.s.heading5}},token:{borderRadius:0,colorError:s.J.alerts.error.background,colorPrimary:s.J.primary.dark,colorSuccess:s.J.alerts.success.background,fontFamily:a.a.cg,fontSize:a.s.body}}},20836:(e,n,t)=>{"use strict";t.d(n,{$:()=>l});let s={lg:1280,md:900,sm:600,xl:1440,xs:400,xxl:1920},a=e=>"@media (min-width: ".concat(e,"px)"),l={lg:a(s.lg),md:a(s.md),sm:a(s.sm),xl:a(s.xl),xs:a(s.xs),xxl:a(s.xxl)}},26046:(e,n,t)=>{"use strict";t.d(n,{Em:()=>a,GC:()=>o,H1:()=>u,Ko:()=>i,NZ:()=>s,XT:()=>l,ok:()=>d,r0:()=>r,tM:()=>c,xg:()=>m});let s="enableNotificationBell",a="enableBrazeTrigger",l="enablePreferences",i="enableStayPlanner",o="enableGuestInfoUpdate",r="enableAutoCompleteAddress",c="enablePaymentByReservation",d="enableInternationalPhoneAuth",u="enableMultiGuestBookingFE",m="enableCancelAppointmentFE"},27339:(e,n,t)=>{"use strict";t.d(n,{g:()=>c});var s=t(95155),a=t(6874),l=t.n(a),i=t(44987);i.Ay.header.withConfig({componentId:"sc-97413660-0"})(["position:fixed;top:0;left:0;width:100vw;z-index:110;transition:height 0.5s ease;height:calc(100px);border-bottom:1px solid #e0dedc;background-color:white;"]),i.Ay.div.withConfig({componentId:"sc-97413660-1"})(["transform:translateY(0);background-color:transparent;position:relative;z-index:111;display:flex;will-change:background-color,transform;transition:background-color 0.5s ease,transform 0.5s ease-in-out,border-color 0.5s ease;height:100%;align-items:center;margin-left:3.45vw;margin-right:3.45vw;"]),i.Ay.nav.withConfig({componentId:"sc-97413660-2"})(["flex:1;display:flex;& > *{margin-right:30px;}"]),i.Ay.div.withConfig({componentId:"sc-97413660-3"})(["flex:1;display:flex;justify-content:center;align-items:center;"]),i.Ay.div.withConfig({componentId:"sc-97413660-4"})(["flex:1;display:flex;justify-content:end;& > *{justify-content:end;margin-left:30px;}"]);let o=(0,i.Ay)(l()).withConfig({componentId:"sc-97413660-5"})(["text-transform:uppercase;text-decoration:none;color:",";&:hover{color:#a64e26;}"],e=>{let{dark:n}=e;return n?"#fff":"#000"});i.Ay.nav.withConfig({componentId:"sc-97413660-6"})(["display:flex;flex-grow:1;align-items:center;grid-column-gap:30px;column-gap:30px;pointer-events:all;font-size:calc(12.5px + 0.1vw);font-family:'Proxima Nova',Helvetica,sans-serif;font-weight:400;letter-spacing:0;text-transform:none;line-height:1.21;"]);var r=t(50804);let c=e=>{let{dark:n,...t}=e;return(0,s.jsx)(o,{"aria-label":"Canyon Ranch Logo",dark:n,href:"https://www.canyonranch.com",children:(0,s.jsx)(r.f,{primary:!n,...t})})}},29352:(e,n,t)=>{"use strict";t.d(n,{$sl:()=>s.$sl,BSo:()=>s.BSo,Bhp:()=>s.Bhp,D19:()=>s.D19,EA0:()=>s.EA0,Evc:()=>s.Evc,GoN:()=>s.GoN,Grd:()=>s.Grd,J9v:()=>s.J9v,L0m:()=>s.L0m,NAG:()=>s.NAG,PW9:()=>s.PW9,Qk3:()=>s.Qk3,Rdq:()=>s.Rdq,S3L:()=>s.S3L,T_s:()=>s.T_s,V_y:()=>s.V_y,YT8:()=>s.YT8,_GH:()=>s._GH,eWv:()=>s.eWv,fYj:()=>s.fYj,fwh:()=>s.fwh,gv_:()=>s.gv_,htS:()=>s.htS,ifw:()=>s.ifw,ipP:()=>s.ipP,jLZ:()=>s.jLZ,lqo:()=>s.lqo,s3K:()=>s.s3K,s75:()=>s.s75,tVe:()=>s.tVe});var s=t(41709)},30675:(e,n,t)=>{"use strict";t.d(n,{Z:()=>C});var s=t(95155),a=t(12115),l=t(14676),i=t(57489),o=t(13618),r=t(35695),c=t(47970),d=t(30662),u=t(44987),m=t(60523),p=t(63102),h=t(20836);let x={Button:(0,u.Ay)(d.Ay).withConfig({componentId:"sc-892c0333-0"})(["font-family:",";font-style:normal;font-weight:400;font-size:17px;display:flex;align-items:center;text-align:center;letter-spacing:0.05em;text-transform:uppercase;color:",";box-shadow:none;text-decoration:none;background:",";","{background:",";}","{font-weight:600;}&:hover,&:focus,&:active{background:transparent !important;color:"," !important;border-color:transparent;box-shadow:none;}"],p.a.pn,m.J.primary.dark,m.J.secondary.background.lightest,h.$.md,m.J.neutrals.grayscaleWhite,h.$.lg,m.J.primary.dark),ButtonContainer:u.Ay.div.withConfig({componentId:"sc-892c0333-1"})(["display:flex;flex-direction:column;align-items:center;padding:8px 16px 36px;gap:10px;","{position:absolute;}position:fixed;height:92px;left:0px;right:0px;bottom:0px;"],h.$.md),LogoutText:u.Ay.div.withConfig({componentId:"sc-892c0333-2"})(["@media (max-width:600px){font-weight:400;font-size:17px;}font-size:15px;font-style:normal;font-weight:600;line-height:12px;letter-spacing:0.45px;text-transform:uppercase;width:67px;height:10px;"])},g=()=>{let e=(0,c.W)();return(0,s.jsx)(x.ButtonContainer,{children:(0,s.jsx)(x.Button,{onClick:e,type:"primary",children:(0,s.jsx)(x.LogoutText,{children:"LOG OUT"})})})};var f=t(29352),y=t(26046),v=t(45766),_=t(96031),w=t(6874),b=t.n(w);let k={Container:u.Ay.div.withConfig({componentId:"sc-7dc6d06e-0"})(["@media (max-width:600px){height:100%;}"]),IconContainer:u.Ay.div.withConfig({componentId:"sc-7dc6d06e-1"})(["display:flex;align-items:center;justify-content:center;width:25px;"]),Link:(0,u.Ay)(b()).withConfig({componentId:"sc-7dc6d06e-2"})(["text-decoration:none;"]),Menu:(0,u.Ay)(_.A).withConfig({componentId:"sc-7dc6d06e-3"})(["display:flex;flex-direction:column;align-items:flex-start;padding:0px;width:100%;height:100%;gap:0px;margin-inline:0px;color:",";font-size:22px;background:transparent;","{background:none;}&&.ant-menu-light.ant-menu-root.ant-menu-inline{border-inline-end:none;}.ant-menu-item{height:54px !important;padding:0 16px;width:100%;margin-inline:0px;}.ant-menu-item-selected{width:100%;margin-inline:0px;}.ant-menu-item,.ant-menu-item-selected{padding-left:18px !important;}"],m.J.textColor.default,h.$.md),MenuContainer:u.Ay.div.withConfig({componentId:"sc-7dc6d06e-4"})(["box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;height:600px;@media (max-width:600px){height:100%;}","{position:sticky;top:2.5rem;border:1px solid ",";box-shadow:0px 1px 2px -2px rgba(0,0,0,0.16),0px 3px 6px rgba(0,0,0,0.12),0px 5px 12px 4px rgba(0,0,0,0.09);flex-basis:307px;flex-grow:0;flex-shrink:0;background:",";}position:relative;left:0;top:0;padding:16px 0 0;gap:16px;border:none;box-shadow:none;width:100%;"],h.$.md,m.J.neutrals.grayscale1,m.J.neutrals.grayscaleWhite),MenuItem:(0,u.Ay)(_.A.Item).withConfig({componentId:"sc-7dc6d06e-5"})(["display:flex;align-items:center;padding:10px 20px;a{color:inherit;text-decoration:none;flex:1;}"]),MenuItemContent:u.Ay.div.withConfig({componentId:"sc-7dc6d06e-6"})(["display:flex;justify-content:space-between;align-items:center;width:100%;"]),MenuItemMain:u.Ay.div.withConfig({componentId:"sc-7dc6d06e-7"})(["display:flex;align-items:center;gap:10px;"]),MenuTitle:u.Ay.div.withConfig({componentId:"sc-7dc6d06e-8"})(["font-style:normal;font-weight:400;display:flex;align-items:center;font-feature-settings:'pnum' on,'lnum' on;padding:0px 30px;color:",";","{font-size:30px;font-family:",";letter-spacing:0em;padding:0 20px;cursor:pointer;}font-size:16px;font-family:",";letter-spacing:0.03em;padding:0 16px;"],m.J.neutrals.grayscale7,h.$.md,p.a.cg,p.a.pn)},j=[y.XT,y.Ko],C=()=>{let[e,n]=(0,a.useState)(""),[t,c]=(0,a.useState)(null),{isSmallScreen:d}=(0,v.l)(),u=(0,r.usePathname)(),{push:p}=(0,r.useRouter)(),{data:h}=(0,f.Rdq)({fetchPolicy:"cache-first",skip:!!t,variables:{featureFlags:j}});(0,a.useEffect)(()=>{(null==h?void 0:h.getFeatureFlags.data)&&c(j.reduce((e,n)=>{var t,s,a;return e[n]=null!==(a=null===(s=h.getFeatureFlags.data)||void 0===s?void 0:null===(t=s[n])||void 0===t?void 0:t.value)&&void 0!==a&&a,e},{}))},[h]),(0,a.useEffect)(()=>{u.includes("/account/personal-info")?n("personal-info"):u.includes("/account/stay")?n("stay"):u.includes("/account/services")?n("services"):u.includes("/account/payment")?n("payment"):(u.includes("/account/preferences")||u.includes("/account/preferences/communication-preferences")||u.includes("/account/preferences/cookies-settings")||u.includes("/account/preferences/privacy-centre"))&&n("preferences/communication-preferences")},[u]);let x=m.J.textColor.default,_=(0,a.useMemo)(()=>[{icon:(0,s.jsx)(i.g,{className:"menu-icon",icon:l.faUser,size:"sm"}),key:"personal-info",label:"Personal Information"},{featureFlag:y.Ko,icon:(0,s.jsx)(i.g,{className:"menu-icon",icon:l.faBedFront,size:"sm"}),key:"stay",label:"Stays"},{icon:(0,s.jsx)(i.g,{className:"menu-icon",icon:l.faClipboardListCheck,size:"sm"}),key:"services",label:"Services"},{icon:(0,s.jsx)(i.g,{className:"menu-icon",icon:l.faMoneyCheckDollar,size:"sm"}),key:"payment",label:"Payment Methods"},{featureFlag:y.XT,icon:(0,s.jsx)(i.g,{icon:l.faSliders,size:"sm"}),key:"preferences/communication-preferences",label:"Preferences"}].filter(e=>!e.featureFlag||(null==t?void 0:t[e.featureFlag])),[t]);return(0,s.jsxs)(k.MenuContainer,{children:[(0,s.jsx)(k.MenuTitle,{onClick:()=>{d||p("/account")},children:"My Account"}),(0,s.jsx)(k.Menu,{mode:"inline",onClick:e=>{n(e.key)},selectedKeys:[e],children:_.map(e=>(0,s.jsx)(o.A,{children:(0,s.jsxs)(k.MenuItemContent,{children:[(0,s.jsxs)(k.MenuItemMain,{children:[(0,s.jsx)(k.IconContainer,{children:e.icon}),(0,s.jsx)(k.Link,{href:"/account/".concat(e.key),children:e.label})]}),(0,s.jsx)(i.g,{color:x,icon:l.faChevronRight,size:"sm"})]})},e.key))}),d?"/account"===u&&(0,s.jsx)(g,{}):(0,s.jsx)(g,{})]})}},37177:(e,n,t)=>{"use strict";t.d(n,{Gz:()=>a,HK:()=>i,c1:()=>c,dz:()=>o,eE:()=>l,eT:()=>d,nq:()=>r,z6:()=>s});let s=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,a=/^\/[^\/]+\/(events|retreats)\/[^\/]+$/,l=/^\/[^\/]+\/(experiences)\/[^\/]+$/,i=/^\/[^\/]+\/daily-schedule$/,o=/\/stay\/?$/,r=/^\/[^\/]+\/confirmation(\/.*|\?.*|$)/,c=/^\/[^\/]+\/checkout\/?$/,d=/^\/account\/stay\/\d+$/},45766:(e,n,t)=>{"use strict";t.d(n,{G:()=>a,l:()=>i});var s=t(12115),a=function(e){return e.XXL="2xl",e.XL2="1xl",e.XL="xl",e.LG="lg",e.MD="md",e.SM="sm",e}({});let l=()=>{let e=window.innerWidth;if(e>=1536)return"2xl";if(e>=1440)return"1xl";if(e>=1280)return"xl";if(e>=1024)return"lg";if(e>=768)return"md";else return"sm"},i=()=>{let[e,n]=(0,s.useState)(l());(0,s.useEffect)(()=>{let e=()=>{n(l())};return window.addEventListener("resize",e),n(l()),()=>{window.removeEventListener("resize",e)}},[]);let t="sm"===e,a=["sm"].includes(e),i=["sm","md"].includes(e),o=["md","lg"].includes(e),r=["sm","md","lg"].includes(e),c=["md","lg"].includes(e);return{isDesktop:["xl","1xl"].includes(e),isLongDesktop:["1xl","2xl"].includes(e),isMediumScreen:i,isMobile:t,isMobileOrTablet:r,isSmallScreen:a,isTablet:o,isTabletOrDesktop:c,screenSize:e}}},47970:(e,n,t)=>{"use strict";t.d(n,{W:()=>i});var s=t(16203),a=t(35695),l=t(10187);let i=()=>{let e=(0,a.useRouter)();return async()=>{await (0,s.CI)(l.j),e.push("/login")}}},50804:(e,n,t)=>{"use strict";t.d(n,{f:()=>i});var s=t(95155);t(12115);var a=t(12581),l=t(14465);let i=e=>{var n;let{height:t,width:i,primary:o,color:r,...c}=e,{id:d}=(0,a.u)("Logo"),u=null!=r?r:o?null===(n=l.w.token)||void 0===n?void 0:n.colorPrimary:"currentColor";return(0,s.jsxs)("svg",{"aria-hidden":"true","data-testid":"Logo",fill:"none",height:t,id:d,viewBox:"0 0 220 29",width:i||"100%",xmlns:"http://www.w3.org/2000/svg",...c,children:[(0,s.jsx)("path",{d:"M21.77 24.06c.04-.04.09-.09.47-1.27l.12-.42.21-2.77-1.1 1.55c-1.02 1.25-2.7 2.7-6.87 2.7-8.07 0-11.68-6.23-11.68-12.39 0-6.12 3.98-10.08 10.14-10.08 2.68 0 5.2.82 6.34 1.63 1.11.8 1.77 3.67 1.77 3.67l.28-1.26.27-2v-.05L21.7 1.8v-.06l-.04-.06c-.03-.06-.09-.16-.63-.32L20 1.1C18.89.77 15.98 0 12.89 0 6.5 0 0 4.4 0 12.83c0 2.9 1.04 12.37 14.43 12.37 3.06 0 5.92-.64 6.42-.85l.45-.13.34-.1.08-.01.05-.05zm134.69-.73-.02-.03a4.74 4.74 0 0 1-.74-1.3l-6.9-15.94-.32-.73-.33.73-7.23 15.9c-.12.24-1.03 2.28-1.03 2.28.05.02.95.23 1.8.36-.01 0 1.7-4.01 1.97-4.6h8.56l.99 2.25c.1.3.28.94.28 1.2 0 .27-.3.56-.4.63l-.96.73 1.21-.11c.01 0 1.12-.1 1.87-.1.69 0 2.74.15 2.75.15-.03-.02-.85-.7-1.5-1.42zm-4.84-4.92h-7.28l3.68-8.77 3.6 8.77zM175.7 6.4s-.95.1-1.38.1c-.5 0-1.39-.1-1.4-.1l-1-.1.72.69.24.22c.38.34.57.51.57 1.75v11.53l-.98-1.1-.75-.84c-2.8-3.17-8.92-10.3-8.98-10.39-.18-.18-.4-.75-.4-.94 0-.12.05-.3.07-.34l.22-.54-.6.07s-.82.1-1.33.1c-.82 0-2.92-.16-2.93-.17 0 0 1.91 1.36 1.91 2.62v13.41c0 1.6-1.32 2.3-1.32 2.3s1.75-.1 2.12-.1c.55 0 1.19.1 1.2.1l1.06.15-.77-.75h-.02l-.02-.02c-.13-.1-.55-.5-.55-1.68V10.05l13.13 15.18.62.72V9.26c0-1.51.23-1.71.84-2.24l.82-.71c.03-.02-1.08.1-1.08.1zm38.43 17.65c-.44-.36-.64-.54-.64-2.02V9.17c0-1.56 0-1.79.5-2.23l.81-.7c-.01 0-1.88.25-2.43.25-.6 0-1.52-.1-1.52-.1l-1.2-.13.93.74c.54.43.65.68.65 2.32v4.59h-10.07V9.15c0-1.51.16-1.68.6-2.14l.04-.03.68-.7-.97.11c-.01 0-.89.1-1.48.1s-1.56-.1-1.57-.1l-1.3-.13 1.05.76c.56.4.7.5.7 2.13v12.7c.01.7-.03 1.28-.3 1.7-.38.57-1.5 1.2-1.5 1.2.01 0 2.28-.18 2.95-.18.75 0 1.58.1 1.6.1l1.26.15-1-.77c-.62-.46-.76-.57-.76-2.1v-6.51h10.07v6.65c0 1.3-.78 1.98-.78 1.98l-.9.76 1.22-.16a13.01 13.01 0 0 1 3.06.01l1.19.15-.89-.78zM119.55 6.42c-.01 0-.97.1-1.4.1-.48 0-1.38-.1-1.39-.1l-1-.11.7.69c.09.09.18.15.24.22.39.34.58.52.58 1.75v11.51l-.9-1.01-.82-.93c-2.8-3.17-8.91-10.3-8.98-10.38-.18-.18-.4-.75-.4-.94 0-.12.05-.3.07-.34l.22-.54-.6.07s-.82.1-1.33.1c-.83 0-2.16-.1-2.17-.1l-.78-.1.83.61c1 .7 1.1.8 1.1 2.05v13.4c0 1.58-1.28 2.36-1.28 2.36.01 0 1.7-.15 2.06-.15.56 0 1.2.1 1.2.1l1.15.16-.85-.76h-.01c-.01-.02-.03-.02-.03-.02-.09-.06-.54-.47-.54-1.68V10.06l13.11 15.17.63.72V9.26c0-1.51.23-1.71.84-2.23l.83-.71c.03-.02-1.08.1-1.08.1zm-58.75.01c-.02 0-.97.1-1.4.1-.49 0-1.38-.1-1.4-.1l-1-.11.71.69.24.22c.39.34.58.52.58 1.75v11.51l-.94-1.05-.8-.9C54 15.39 47.9 8.26 47.84 8.2a2.2 2.2 0 0 1-.41-.95c0-.13.05-.3.08-.34l.21-.54-.59.07s-.82.1-1.33.1c-.82 0-2-.05-2.02-.05l-.9-.04.87.58c1.03.7 1.03.73 1.03 1.98v13.4c0 1.26-.65 1.68-.68 1.7l-.89.63c.02 0 2-.14 2.36-.14.56 0 1.19.1 1.2.1l1.11.16-.81-.76h-.02c0-.02-.02-.03-.02-.03-.09-.06-.54-.47-.54-1.68v-12.3l13.1 15.15.62.72V9.27c0-1.51.23-1.71.84-2.23l.84-.71-1.09.1zm22.11-.03c-.01 0-1.03.1-1.65.1-.39 0-1.7-.1-1.71-.1l-.83-.06.52.63c.3.35.58.79.6.93-.2.74-4.17 8.06-7 13.24l-1.55-3.5c-1.63-3.69-4.09-9.25-4.18-9.76 0-.15.25-.62.48-.95l.4-.58-.72.06c-.01 0-1.45.1-2.07.1-.8 0-2.91-.07-2.92-.07l1.19.54c.43.2.97.69 1.25 1.28l6.99 15.1c-.12.3-.6 1.24-1.03 2.09-.45.9-1.3 1.42-2.15 1.85l-.1.06-.99.4 1.19.25c.37.03 2.28.1 3.57-2.11l.73-1.27c.1-.16 7.4-14.8 8.85-16.69a11.1 11.1 0 0 1 1.81-1.61l-.68.08zm8.39-.38a9.5 9.5 0 0 0-9.4 9.55c0 5.77 3.91 9.5 9.96 9.5 4.35 0 9.2-3.56 9.2-8.67 0-5.02-2.57-10.38-9.76-10.38zm0 1.18c4.08 0 7.52 4.22 7.52 9.2 0 4.86-3.44 7.48-6.68 7.48-4.4 0-7.98-3.86-7.98-8.59 0-4.76 2.94-8.1 7.14-8.1zM41.09 23.33l-.03-.03a4.75 4.75 0 0 1-.73-1.3l-6.9-15.92-.32-.74-.32.74-7.24 15.9c-.11.24-.45.92-.76 1.2-.44.38-1.6 1.45-1.82 1.6l.81-.1c.01 0 1-.1 1.8-.1.63 0 1.71.12 1.72.12l.99.11-.7-.7c-.29-.29-.56-.67-.56-.8 0-.23.18-.8.29-1.1-.02.02.7-1.64.95-2.22h8.55l.98 2.25c.1.3.29.94.29 1.2 0 .27-.3.56-.4.63l-.96.73 1.2-.11c.02 0 1.13-.1 1.88-.1.69 0 2.76.19 2.77.19l-.67-.55c0-.01-.5-.49-.82-.9zm-4.84-4.92h-7.28l3.68-8.77 3.6 8.77zm157.69 3.51c-.49.6-1.72 1.9-5.17 1.9-5.95 0-8.62-4.65-8.62-9.25 0-4.5 2.93-7.42 7.46-7.42 2 0 3.87.57 4.7 1.2.9.7 1.53 2.42 1.53 2.42l.36-2.18v-.02l-.02-1.19v-.05l-.03-.06c-.04-.05-.1-.16-.54-.3l-.78-.18a19.6 19.6 0 0 0-5.34-.84c-4.85 0-9.77 3.36-9.77 9.77 0 5.84 4.08 9.32 10.92 9.32 2.28 0 4.42-.47 4.86-.65l.33-.1.26-.06.07-.03.05-.05c.05-.04.1-.09.4-1.03l.08-.29.26-2.14-1 1.23zm22.41.98c0-.98.72-1.73 1.63-1.73.91 0 1.62.75 1.62 1.74 0 1-.71 1.74-1.62 1.74-.91 0-1.63-.73-1.63-1.74zm1.63 2.1c1.1 0 2.02-.87 2.02-2.08 0-1.2-.93-2.08-2.02-2.08-1.1 0-2.02.9-2.02 2.08a2.02 2.02 0 0 0 2.02 2.09zm-.43-1.93h.4l.61 1.05h.4l-.66-1.06c.34-.04.6-.23.6-.66 0-.47-.27-.68-.81-.68h-.89v2.4h.35v-1.05zm0-.3v-.75h.48c.24 0 .5.05.5.35 0 .37-.27.4-.56.4h-.42z",fill:u,xmlns:"http://www.w3.org/2000/svg"}),(0,s.jsx)("path",{d:"M139.63 22.55c-2.6-2.52-6.55-8.56-7.32-9.75l-.03-.06-.06-.08.08-.06.06-.04c.79-.54 4.08-1.92 4.14-6.01.05-3.98-3.78-5.86-7.61-5.86-.94 0-1.98.06-2.73.11h-.1c-.57.03-1.07.06-1.4.06-.57 0-1.8-.1-2.42-.16l.29.27c.15.12.91.79.91 2.3v18.8c0 1.8-1.05 2.5-1.06 2.5l-.55.37.08-.01.58-.04h.06c1.03-.1 1.79-.14 2.12-.14.97 0 2.07.12 2.2.14l.6.06-.19-.15a3.28 3.28 0 0 1-.28-.23c-.01 0-1.12-.86-1.12-2.52v-8.5h3.93l.03.05.02.04c.43.64 4.26 6.43 6.27 8.48 1.83 1.86 2.83 2.45 4.06 2.8 1.6.44 2.06.5 4.16.58a14.2 14.2 0 0 1-4.72-2.95zm-10.88-10h-2.88V1.98l.09-.03h.05c1.01-.2 1.49-.23 2.11-.23 3.15 0 5.82 1.6 5.81 5.7-.01 4.04-3.06 5.15-5.18 5.15z",fill:u,xmlns:"http://www.w3.org/2000/svg"})]})}},55917:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r,h:()=>c});var s=t(95155),a=t(12115),l=t(16203),i=t(10187);let o=(0,a.createContext)({loading:!0,user:null}),r=()=>(0,a.useContext)(o),c=e=>{let{children:n}=e,[t,r]=(0,a.useState)(null),[c,d]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{c||null!==t||(0,l.zK)(i.j)},[c,t]),(0,a.useEffect)(()=>{let e=(0,l.hg)(i.j,e=>{r(e),d(!1)});return()=>e()},[]),(0,s.jsx)(o.Provider,{value:{loading:c,user:t},children:n})}},60523:(e,n,t)=>{"use strict";t.d(n,{J:()=>s});let s={alerts:{error:{background:"#E5381A",text:"#971903"},success:{background:"#E2F1E0",text:"#285B45"},warning:{background:"#F2C540",text:"#F2C540"}},bgColor:{neutral:{default:"#5c5451",neutralBase:"#fbfbfb"}},black:"#000",borders:{primary:"#e0dedc"},divider:{light:"#E1DEDB"},link:{primary:"#a64e26"},location:{las_vegas:"#937458",lenox:"#222445",tucson:"#583D52",woodside:"#24412A"},neutrals:{background:"#E0DDDA",grayscale1:"#F5F5F5",grayscale2:"#D7D7D7",grayscale3:"#AEAEAE",grayscale4:"#868686",grayscale5:"#5D5D5D",grayscale6:"#353535",grayscale7:"#262020",grayscaleBackground:"#C4C4C4",grayscaleWhite:"#FFFFFF",selected:"#C1BAB6"},primary:{cream:"#F7EDE9",dark:"#B04E21",darker:"#813918",light:"#EFDCD3",medium:"#D0957A"},secondary:{background:{lightest:"#FBF8F5"},dark:"#F4551F"},textColor:{brand:{alpha:"#121110",dark:"#6A2F14",hover:"#9B451D"},default:"#353535",primary:{darkTheme:"#FEFDFC"}},white:"#fff",whiteOptical:"#fcfbfa"}},63102:(e,n,t)=>{"use strict";t.d(n,{a:()=>a,s:()=>s});let s={body:16,heading1:74,heading2:59,heading3:39,heading4:32,heading5:26},a={cg:"var(--font-cormorant-garamond)",pn:"var(--font-proxima-nova)"}},66693:e=>{e.exports={container:"styles_container__mUg4P",icon:"styles_icon__SNCUG"}},67403:(e,n,t)=>{Promise.resolve().then(t.bind(t,89597))},71980:e=>{e.exports={button:"styles_button__YaZn_",primary:"styles_primary__EzVYn",secondary:"styles_secondary__v0qOY",destructive:"styles_destructive__VSkC6",ghost:"styles_ghost__mui3d",text:"styles_text__sHIRI","neutral-text":"styles_neutral-text__i_68_",xl:"styles_xl__vqNgs",lg:"styles_lg__6wvoS",base:"styles_base__Wg2dz",sm:"styles_sm__gSr_X",withIcon:"styles_withIcon__b3o4j",fill:"styles_fill__nunXW"}},75808:e=>{e.exports={navigationMenu:"styles_navigationMenu__nvTOq",menuCollapsed:"styles_menuCollapsed__IfP_l",label:"styles_label__unN12",container:"styles_container__vywLa",header:"styles_header__WLXK2",menu:"styles_menu__x1ejf",item:"styles_item__fYFco",menuContent:"styles_menuContent__w3WX9"}},89597:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>L});var s=t(95155),a=t(12115),l=t(70802),i=t(29300),o=t.n(i),r=t(35695),c=t(37177),d=t(45766),u=t(498),m=t(55917),p=t(14676),h=t(57489),x=t(6874),g=t.n(x),f=t(9712),y=t(27339),v=t(29352),_=t(26046),w=t(66693),b=t.n(w);let k=e=>{let{icon:n,className:t,size:a,...l}=e;return(0,s.jsx)("div",{className:o()(b().container,t),style:{height:"".concat(a,"px"),width:"".concat(a,"px")},...l,children:(0,s.jsx)(h.g,{className:b().icon,icon:n})})};var j=t(75808),C=t.n(j);let z=()=>{let[e,n]=(0,a.useState)(!1),[t]=(0,v.D19)();(0,a.useEffect)(()=>{(async()=>{try{let{data:e}=await t({variables:{featureFlags:_.XT}});(null==e?void 0:e.getFeatureFlags.data)&&n(e.getFeatureFlags.data[_.XT].value)}catch(e){throw Error("Error fetching bookingDetails")}})()},[t]);let l=[{icon:p.faUser,key:"personal-info",label:"Personal Information",showValue:!0},{icon:p.faBedFront,key:"stay",label:"Stays",showValue:!0},{icon:p.faClipboardListCheck,key:"services",label:"Services",showValue:!0},{icon:p.faMoneyCheckDollar,key:"payment",label:"Payment Methods",showValue:!0},{icon:p.faSliders,key:"preferences/communication-preferences",label:"Preferences",showValue:e}],[i,o]=(0,a.useState)(""),[c,u]=(0,a.useState)(!1),{isDesktop:m}=(0,d.l)(),h=(0,r.usePathname)();(0,a.useEffect)(()=>{h.includes("/account/personal-info")?o("personal-info"):h.includes("/account/stay")?o("stay"):h.includes("/account/services")?o("services"):h.includes("/account/payment")?o("payment"):"/account/preferences"===h?o("preferences/communication-preferences"):o("")},[h]);let x=(0,a.useMemo)(()=>l.find(e=>e.key===i),[i]);return((0,a.useEffect)(()=>(c?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[c]),""===i||m)?null:(0,s.jsxs)("div",{className:C().navigationMenu,children:[(0,s.jsxs)("div",{className:C().menuCollapsed,onClick:()=>u(e=>!e),children:[(0,s.jsxs)("div",{className:C().menuContent,children:[(null==x?void 0:x.icon)&&(0,s.jsx)(k,{icon:x.icon,size:40}),(0,s.jsx)("p",{className:C().label,children:null==x?void 0:x.label})]}),(0,s.jsx)(k,{icon:p.faChevronDown,onClick:()=>u(!1),size:40})]}),c&&(0,s.jsxs)("div",{className:C().container,children:[(0,s.jsxs)("div",{className:C().header,children:[(0,s.jsx)("p",{className:C().label,children:"Select an option"}),(0,s.jsx)(k,{icon:p.faChevronUp,onClick:()=>u(!1),size:40})]}),(0,s.jsx)("div",{className:C().menu,children:l.map(e=>(0,s.jsx)(s.Fragment,{children:e.showValue&&(0,s.jsxs)(g(),{className:C().item,href:"/account/".concat(e.key),onClick:()=>u(!1),children:[(0,s.jsx)(k,{icon:e.icon,size:40}),(0,s.jsx)("span",{className:C().label,children:e.label})]},e.key)}))})]})]})};var N=t(3316),I=t.n(N);let F=e=>{let{displayName:n}=e;return(0,s.jsx)("div",{className:I().userName,children:(0,s.jsxs)("span",{children:["Hello ",n,"!"]})})},A=e=>{let{user:n}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:I().leftContent,children:[(0,s.jsx)(y.g,{width:150}),(0,s.jsx)("div",{className:I().verticalBorder}),(0,s.jsx)(F,{displayName:null==n?void 0:n.displayName})]}),(0,s.jsxs)("div",{className:I().rightContent,children:[(0,s.jsxs)("div",{className:I().contactInfo,children:[(0,s.jsx)("span",{children:"Need help? Calls us at"}),(0,s.jsx)(g(),{className:I().link,href:"tel:866-494-9279",children:"(866) 494-9279"}),(0,s.jsx)("span",{children:"or"}),(0,s.jsx)("span",{className:I().link,children:"Chat with us"})]}),(0,s.jsx)("div",{className:I().verticalBorder}),(0,s.jsx)(f.$,{className:I().bookBtn,children:(0,s.jsx)(g(),{className:I().bookLink,href:"https://www.canyonranch.com/#bookFind=booking",children:"Book"})})]})]})},E=()=>(0,s.jsxs)("div",{className:I().smallScreen,children:[(0,s.jsx)("div",{className:I().userWrapper,children:(0,s.jsx)(y.g,{width:150})}),(0,s.jsx)(g(),{href:"/account",children:(0,s.jsx)(h.g,{className:I().icon,icon:p.faUser})})]}),S=()=>{let{user:e}=(0,m.Z)(),{isSmallScreen:n}=(0,d.l)(),[t,l]=(0,a.useState)(!1);return(0,s.jsx)("div",{className:I().container,children:n?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(E,{onToggleUser:()=>l(e=>!e),showUser:t,user:e}),(0,s.jsx)(z,{})]}):(0,s.jsx)(A,{user:e})})};var B=t(30675),D=t(94423),M=t.n(D);let L=e=>{let{children:n}=e,{isSmallScreen:t}=(0,d.l)(),{user:i,loading:p}=(0,m.Z)(),h=(0,r.usePathname)(),x=(0,r.useRouter)();(0,a.useEffect)(()=>{p||i&&!i.isAnonymous||x.push("/login")},[p,i,x]);let g=(0,u.o)(h,c.eT);return p?(0,s.jsx)("div",{className:M().parentWrapper,children:(0,s.jsx)(l.A,{active:!0})}):!i||i.isAnonymous?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(S,{}),(0,s.jsx)("div",{className:o()(M().container,{[M().responsiveBody]:!g}),children:(0,s.jsxs)("div",{className:M().innerContainer,children:[!t&&!g&&(0,s.jsx)(B.Z,{}),n]})})]})}},94423:e=>{e.exports={responsiveBody:"layout_responsiveBody__1bX_8",container:"layout_container__q9oEl",innerContainer:"layout_innerContainer__D48xN"}}},e=>{var n=n=>e(e.s=n);e.O(0,[7268,5651,1286,1794,3704,1137,7489,4666,189,6874,2725,8815,685,9983,662,4987,6922,2778,6031,8031,1709,8441,1684,7358],()=>n(67403)),_N_E=e.O()}]);