1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8593,2761,3741,4742],{8917:function(e,l,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/classschedule/hamptons/confirmation",function(){return a(5221)}])},5221:function(e,l,a){"use strict";a.r(l),a.d(l,{__N_SSP:function(){return N},default:function(){return M}});var t=a(85893),i=a(11163),n=a(45697),r=a.n(n),s=a(67294),o=a(89270),u=a(17602),b=a(81999),c=a(34646),d=a(39380),v=a(49600),p=a(60015),m=a(69455),f=a(17277),g=a(67725),h=a(8728),L=a(4742),I=a.n(L),w=a(94134),C=a(14005),K=a.n(C);let _=({contentfulData:e,isMobile:l,classInfo:a})=>{let{confirmationImage:i,confirmationMessage:n,mobileConfirmationImage:r}=e;return(0,t.jsxs)("section",{className:K().confirmationWrapper,children:[(0,t.jsx)("div",{className:"p-sm-0 container",children:(0,t.jsx)("div",{className:K().heroWrapper,children:(0,t.jsx)(g.Z,{alt:l?r?.fields?.title:i?.fields?.title,sizes:l?I().singleCard:I().singleImageDesktop,src:l?r?.fields?.file?.url:i?.fields?.file?.url})})}),(0,t.jsxs)("div",{className:`container ${K().bodyTextWrapper}`,children:[(0,t.jsx)("h1",{children:"See you in the Hamptons"}),(0,t.jsxs)("div",{className:K().classWrapper,children:[(0,t.jsx)("p",{children:"You\xb4re signed, sealed and in for:"}),(0,t.jsxs)("div",{className:K().classInfo,children:[(0,t.jsx)("div",{children:a?.className}),(0,t.jsx)("div",{children:a?.displayTime}),(0,t.jsx)("div",{children:"Hamptons"}),(0,t.jsx)("div",{children:a?.instructorName})]})]}),(0,t.jsx)("div",{className:K().confirmationMessage,children:n&&(0,t.jsx)(h.Z,{richText:n})})]})]})};_.propTypes={classInfo:r().shape({className:r().string,displayTime:r().string,instructorName:r().string,locationName:r().string}),contentfulData:r().shape({confirmationImage:r().object,confirmationMessage:r().object,mobileConfirmationImage:r().object}).isRequired,isMobile:r().bool};var J=(0,w.Z)(_);let y=({contentfulData:e,isWebRefresh:l=!1,token:a})=>{let{metaData:n,uiModules:r,navigation:g}=e,[h,L]=(0,s.useState)({}),[I,w]=(0,s.useState)(!0),C=(0,i.useRouter)(),{asPath:K}=C,_=(e,l)=>{e?e.location.hash&&(0,m.pushToHash)(e.location.hash):(0,m.pushToHash)(l)},y=r.find(e=>{let{sys:{contentType:{sys:{id:l}}}}=e;return"moduleHeroClassSchedule"===l});(0,s.useEffect)(()=>{if(_(window,K),window&&window.addEventListener("hashchange",()=>{_(window,K)}),window)return()=>{window.removeEventListener("hashchange",_)}},[K]);let[N,M]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!N&&window){let e=(0,f.rV)(o.NB.localStorageItems.hamptonsBookingClass);e&&Object.keys(e).length>0?(L(e),w(!1),M(!0)):C.push(v.Wh.EQUINOX_HAMPTONS.path,null)}return()=>{N&&((0,f.cl)(o.NB.localStorageItems.hamptonsBookingClass),M(!1))}},[N,C]),(0,p.Z)(c.zi.programmaticUrlRoute,n?.fields.title.toLowerCase(),b.cC.BOOKING),(0,t.jsx)(u.Z,{hasFooter:!a,isWebRefresh:l,metaData:n?.fields,modules:r,navigation:a?null:g,theme:"light",children:I?(0,t.jsx)(d.Z,{}):(0,t.jsx)(J,{classInfo:h,contentfulData:y?.fields})})};y.propTypes={contentfulData:r().shape({metaData:r().object.isRequired,navigation:r().object.isRequired,seoMetaData:r().object,uiModules:r().array.isRequired}).isRequired,isWebRefresh:r().bool,token:r().string};var N=!0,M=y},89270:function(e,l,a){"use strict";a.d(l,{NB:function(){return n},jG:function(){return i}});var t=a(63880);let i="prod",n={available_states:t.C,localStorageItems:{classScheduleFilters:"classScheduleFilters",giftCardPayload:"giftCardPayload",hamptonsBookingClass:"hamptonConfirmation",loginRedirectUrl:"loginRedirectUrl"},pageNames:{acqBilling:"acq-billing",brand:"brand",ccpa:"ccpa",classSchedule:"class-schedule",classScheduleLanding:"groupfitness/classes",clubDetail:"club-detail",contract:"contract",corpJoin:"corpJoin",equifitQuestionnaire:"equifit-questionnaire",feedback:"feedback",findLocation:"find-location",formerMember:"formerMember",gfCategoryScheduleLanding:"groupfitness/{0}/classes",gfClassCategory:"group-fitness-class-category",gfClassCategoryLanding:"GroupFitnessClassCategoryPage",gfClassInstance:"group-fitness-class-instance",gfClassScheduleLanding:"groupfitness/{0}/{1}/classes",gfClubCategoryClassScheduleLanding:"clubs/{0}/{1}/{2}/groupfitness/{3}/classes",gfSignatureClass:"GroupFitnessSignatureClassPage",groupFitness:"group-fitness",groupFitnessLanding:"groupFitnessLanding",hamptonsLanding:"classschedule/hamptons",home:"home",landing:"landing",memberBenefits:"member-benefits",memberBenefitsLanding:"member_benefits",pilates:"pilates",promotion:"promotion",prospect:"prospect",pt:"personal-training",reactivate:"reactivate",remoteClose:"remoteclose",shop:"shop",spa:"spa",spaBooking:"spaBooking",tierXQuestionnaire:"tierXQuestionnaire"},pages:{accountFreeze:{allowSearchEngineIndex:!1,description:"Equinox Freeze",title:"Equinox Freeze"}}
1,session:{cookies:{legacy:"EqAuth.v1",login:"EqxWeb.Login",paymentAppHampton:"hamptonToken",paymentAppProductToken:"productToken",paymentAppRedirectTo:"redirect",paymentAppReferrer:"referrer",paymentAppSource:"source"},defaultLoginUrl:"/account"},testIds:{autoPlayVideo:"auto-play-video",basicNav:"basic-nav",datePicker:"date-picker",emailVerificationConfirmation:"email-verification-confirmation",emailVerificationError:"email-verification-error",emailVerificationLanding:"email-verification-landing",emailVerificationThankyou:"email-verification-thankyou",employeeForm:"employee-form",joinFlowCta:"join-flow-cta",leadFlow:"lead-flow",overlappedColumns:"overlapped-columns",primaryCta:"primary-cta",successScreen:"success-screen"}};l.ZP=n},63880:function(e,l,a){"use strict";a.d(l,{C:function(){return t}});let t={US:[{val:"AL",label:"AL"},{val:"AK",label:"AK"},{val:"AZ",label:"AZ"},{val:"AR",label:"AR"},{val:"CA",label:"CA"},{val:"CO",label:"CO"},{val:"CT",label:"CT"},{val:"DE",label:"DE"},{val:"DC",label:"DC"},{val:"FL",label:"FL"},{val:"GA",label:"GA"},{val:"HI",label:"HI"},{val:"ID",label:"ID"},{val:"IL",label:"IL"},{val:"IN",label:"IN"},{val:"IA",label:"IA"},{val:"KS",label:"KS"},{val:"KY",label:"KY"},{val:"LA",label:"LA"},{val:"ME",label:"ME"},{val:"MD",label:"MD"},{val:"MA",label:"MA"},{val:"MI",label:"MI"},{val:"MN",label:"MN"},{val:"MS",label:"MS"},{val:"MO",label:"MO"},{val:"MT",label:"MT"},{val:"NE",label:"NE"},{val:"NV",label:"NV"},{val:"NH",label:"NH"},{val:"NJ",label:"NJ"},{val:"NM",label:"NM"},{val:"NY",label:"NY"},{val:"NC",label:"NC"},{val:"ND",label:"ND"},{val:"OH",label:"OH"},{val:"OK",label:"OK"},{val:"OR",label:"OR"},{val:"PA",label:"PA"},{val:"RI",label:"RI"},{val:"SC",label:"SC"},{val:"SD",label:"SD"},{val:"TN",label:"TN"},{val:"TX",label:"TX"},{val:"UT",label:"UT"},{val:"VT",label:"VT"},{val:"VA",label:"VA"},{val:"WA",label:"WA"},{val:"WV",label:"WV"},{val:"WI",label:"WI"},{val:"WY",label:"WY"}],UK:[{value:"HAW",label:"HAW"},{value:"I0",label:"I0"},{value:"I1",label:"I1"},{value:"I2",label:"I2"},{value:"I3",label:"I3"},{value:"I4",label:"I4"},{value:"I5",label:"I5"},{value:"I6",label:"I6"},{value:"I7",label:"I7"},{value:"I8",label:"I8"},{value:"I9",label:"I9"},{value:"IB",label:"IB"},{value:"IC",label:"IC"},{value:"IE",label:"IE"},{value:"IF",label:"IF"},{value:"IG",label:"IG"},{value:"IH",label:"IH"},{value:"II",label:"II"},{value:"IJ",label:"IJ"},{value:"IK",label:"IK"},{value:"IM",label:"IM"},{value:"IO",label:"IO"},{value:"IP",label:"IP"},{value:"IQ",label:"IQ"},{value:"IR",label:"IR"},{value:"IS",label:"IS"},{value:"IT",label:"IT"},{value:"IU",label:"IU"},{value:"IV",label:"IV"},{value:"IW",label:"IW"},{value:"IX",label:"IX"},{value:"IY",label:"IY"},{value:"IZ",label:"IZ"},{value:"J0",label:"J0"},{value:"J1",label:"J1"},{value:"J2",label:"J2"},{value:"J3",label:"J3"},{value:"J4",label:"J4"},{value:"J5",label:"J5"},{value:"J6",label:"J6"},{value:"J7",label:"J7"},{value:"J8",label:"J8"},{value:"J9",label:"J9"},{value:"JA",label:"JA"},{value:"JB",label:"JB"},{value:"JC",label:"JC"},{value:"JD",label:"JD"},{value:"JE",label:"JE"},{value:"JF",label:"JF"},{value:"JG",label:"JG"},{value:"JH",label:"JH"},{value:"JI",label:"JI"},{value:"JJ",label:"JJ"},{value:"JK",label:"JK"},{value:"JL",label:"JL"},{value:"JM",label:"JM"},{value:"JN",label:"JN"},{value:"JO",label:"JO"},{value:"JP",label:"JP"},{value:"JQ",label:"JQ"},{value:"JR",label:"JR"},{value:"JS",label:"JS"},{value:"JT",label:"JT"},{value:"JU",label:"JU"},{value:"JV",label:"JV"},{value:"JW",label:"JW"},{value:"JX",label:"JX"},{value:"JY",label:"JY"},{value:"JZ",label:"JZ"},{value:"K0",label:"K0"},{value:"K1",label:"K1"},{value:"K2",label:"K2"},{value:"K3",label:"K3"},{value:"K4",label:"K4"},{value:"K5",label:"K5"},{value:"K6",label:"K6"},{value:"K7",label:"K7"},{value:"K8",label:"K8"},{value:"K9",label:"K9"},{value:"KA",label:"KA"},{value:"KB",label:"KB"},{value:"KC",label:"KC"},{value:"KD",label:"KD"},{value:"KE",label:"KE"},{value:"KF",label:"KF"},{value:"KG",label:"KG"},{value:"KH",label:"KH"},{value:"KI",label:"KI"},{value:"KJ",label:"KJ"},{value:"KK",label:"KK"},{value:"KL",label:"KL"},{value:"KM",label:"KM"},{value:"KN",label:"KN"},{value:"KO",label:"KO"},{value:"KP",label:"KP"},{value:"KQ",label:"KQ"},{value:"KR",label:"KR"},{value:"KT",label:"KT"},{value:"KU",label:"KU"},{value:"KV",label:"KV"},{value:"KW",label:"KW"},{value:"KX",label:"KX"},{value:"KZ",label:"KZ"},{value:"L0",label:"L0"},{value:"L1",label:"L1"},{value:"L2",label:"L2"},{value:"L3",label:"L3"},{value:"L4",label:"L4"},{value:"L5",label:"L5"},{value:"L6",label:"L6"},{value:"L7",label:"L7"},{value:"L8",label:"L8"},{value:"L9",label:"L9"},{value:"LB",label:"LB"},{value:"LC",label:"LC"},{value:"LD",label:"LD"},{value:"LE",label:"LE"},{value:"LF",label:"LF"},{value:"LG",label:"LG"},{value:"LH",label:"LH"},{value:"LI",label:"LI"},{value:"LJ",label:"LJ"},{value:"LK",label:"LK"},{value:"LL",label:"LL"},{value:"LM",label:"LM"},{value:"LN",label:"LN"},{value:"LO",label:"LO"},{value:"LP",label:"LP"},{value:"LQ",label:"LQ"},{value:"LR",label:"LR"},{value:"LS",label:"LS"},{value:"LT",label:"LT"},{value:"LU",label:"LU"},{value:"LV",label:"LV"},{value:"LW",label:"LW"},{value:"LX",label:"LX"},{value:"LY",label:"LY"},{value:"LZ",label:"LZ"},{value:"M0",label:"M0"},{value:"M1",label:"M1"},{value:"M2",label:"M2"},{value:"M3",label:"M3"},{value:"M4",label:"M4"},{value:"M5",label:"M5"},{value:"M6",label:"M6"},{value:"M7",label:"M7"}],CA:[{value:"AB",label:"AB"},{value:"BC",label:"BC"},{value:"MB",label:"MB"},{value:"NB",label:"NB"},{value:"NL",label:"NL"},{value:"NT",label:"NT"},{value:"NS",label:"NS"},{value:"NU",label:"NU"},{value:"ON",label:"ON"},{value:"PE",label:"PE"},{value:"QC",label:"QC"},{value:"SK",label:"SK"},{value:"YT",label:"YT"}]}},67725:function(e,l,a){"use strict";a.d(l,{Z:function(){return s}});var t=a(85893),i=a(45697),n=a.n(i);a(67294);let r=({alt:e,className:l,isLazy:a=!0,onLoad:i,sizes:n=[],src:r,width:s=1e3})=>{let o=0,u=0,b=s,c=Object.entries(n?.[0]?.params||{}).map(([e,l])=>"h"===e?(o=l,""):"q"===e?(u=l,""):"w"===e?(b=l,""):`${e}=${l}`).filter(e=>!!e).join("&"),d=c?`&${c}`:"";return(0,t.jsx)("img",{alt:e,className:l,"data-is":"ContentfulImage",draggable:"false",loading:a?"lazy":"eager",onLoad:(...e)=>i?.(...e),src:`${r}?fm=webp&w=${b}${o>0?"&h="+o:""}&q=${u>0?u:50}${d}`,srcSet:[1,2,3].map(e=>`${r}?fm=webp&w=${b*e}${o>0?"&h="+o*e:""}&q=${u>0?u:70-10*e}${d} ${e}x`).join(", ")})};
1r.propTypes={alt:n().string.isRequired,className:n().string,isLazy:n().bool,onLoad:n().func,sizes:n().array,src:n().string.isRequired,width:n().number};var s=r},8728:function(e,l,a){"use strict";a.d(l,{Z:function(){return c}});var t=a(85893),i=a(8105),n=a(5707),r=a(45697),s=a.n(r);a(67294);var o=a(91690),u=a.n(o);let b=({richText:e,multiLine:l})=>{let a={renderNode:{[n.RG.PARAGRAPH]:(e,l)=>`${l(e.content)}`}};return l?(0,t.jsx)("span",{className:u().formattedTextMultiLine,children:l}):(0,t.jsx)("span",{className:u().formattedText,dangerouslySetInnerHTML:{__html:(0,i.S)(e,a)}})};b.propTypes={richText:s().object.isRequired};var c=b},21419:function(e,l,a){"use strict";var t=a(85893),i=a(93967),n=a.n(i),r=a(45697),s=a.n(r);a(67294);var o=a(47547),u=a.n(o);let b=({className:e,color:l,hasBackgroundShade:a=!1,isModal:i=!1,isOverlay:r=!1})=>(0,t.jsx)("div",{"aria-busy":"true","aria-label":"Loading...","aria-live":"polite","aria-modal":i||void 0,className:n()(u().loader,e&&e),"data-background-shade":a,"data-overlay":r,role:i?"dialog":"status",children:(0,t.jsx)("div",{"aria-hidden":"true",className:u().spinner,"data-theme":l,children:(0,t.jsx)("span",{children:"Loading..."})})});b.propTypes={className:s().string,color:s().string,hasBackgroundShade:s().bool,isModal:s().bool,isOverlay:s().bool},l.Z=b},32761:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return t.Z}});var t=a(21419)},39380:function(e,l,a){"use strict";var t=a(85893),i=a(45697),n=a.n(i);a(67294);var r=a(32761),s=a(60946),o=a.n(s);let u=({color:e="dark",posValue:l})=>(0,t.jsx)("div",{className:o().loading,style:{position:l},children:(0,t.jsx)(r.default,{color:e})});u.propTypes={color:n().string,posValue:n().string},l.Z=u},60015:function(e,l,a){"use strict";var t=a(11163),i=a(67294),n=a(91949),r=a(83111),s=a(50146);l.Z=(e,l,a,o)=>{let{getDataLayerInfo:u,initialized:b}=(0,i.useContext)(r.St),{setNewDataLayer:c}=(0,i.useContext)(n.K),{asPath:d}=(0,t.useRouter)(),v=(0,i.useRef)(null),p=d.split(/[?#]/)[0];(0,i.useEffect)(()=>{if(!b||v.current===p)return;v.current=p;let t={...e(d,l,a||""),user:u()};o&&o.fields&&(t=s.default.toACDLDataLayerFormat(t,o)),c(t)},[b,p])}},69455:function(e){"use strict";e.exports={pushToHash:(e,l=0)=>{let a=e.split("#")[1];a&&setTimeout(()=>{let e=document.getElementsByTagName("section"),t=null;for(let l in e)if(e[l]instanceof HTMLElement&&e[l].getAttribute("data-attr-scroll")===a){t=e[l];break}if(t||(t=document.getElementById(a)),!t)return;let i=t.getBoundingClientRect().top+window.scrollY-l;
1t.focus({preventScroll:!0}),window.scrollTo({behavior:"smooth",top:i})},600)}}},50146:function(e,l,a){"use strict";a.r(l);var t=a(85893),i=a(67294);l.default={encode:e=>window.btoa(encodeURIComponent(escape(e))),newLineToBreak:e=>e.replace(/(?:\r\n|\r|\n)/g,"<br/>"),objectToQueryString:e=>Object.keys(e).map(l=>l+"="+e[l]).join("&"),renderMultiLine:e=>e&&e.split(/\n|\\n/g).map(e=>(0,t.jsxs)(i.Fragment,{children:[e.trim()," ",(0,t.jsx)("br",{})]},e)),toACDLDataLayerFormat:(e,l)=>{let{pageName:a,pageSection:t,pageSubSection:i,pageType:n,pageCategory:r}=l.fields;return e.page.name=a,e.page.section=t,e.page.subSection=i,e.page.type=n,r&&(e.page.category=r.toLowerCase()),n&&(e.page.type=n.toLowerCase()),e},unencode:e=>unescape(decodeURIComponent(window.atob(e)))}},4742:function(e,l,a){"use strict";Object.defineProperty(l,"__esModule",{value:!0});let t=a(38754)._(a(50146));e.exports={CarouselWithDescCard:[{mediaQuery:"default",params:{h:900,w:900}}],breakerDesktop:[{mediaQuery:"default",params:{w:1800}}],breakerMobile:[{mediaQuery:"default",params:{w:768}}],callout:[{mediaQuery:"default",params:{fit:"fill",w:900}}],card:[{mediaQuery:"default",params:{w:900}}],classIcon:[{mediaQuery:"default",params:{fit:"thumb",h:160,r:160,w:160}}],editorialBackground:[{mediaQuery:"default",params:{fit:"fill",h:1160,q:70,w:900}}],editorialContentHero:[{mediaQuery:"default",params:{fit:"fill",h:570,q:70,w:1050}}],fullScreenBackgroundDesktop:()=>t.default.objectToQueryString({fl:"progressive",fm:"jpg",q:55,w:2200}),fullScreenBackgroundMobile:()=>t.default.objectToQueryString({fl:"progressive",fm:"jpg",q:45,w:768}),galleryDesktop:[{mediaQuery:"default",params:{w:1800}}],groupFitnessInstanceImage:[{params:{fit:"fill",h:800,q:70,w:600}}],locationCard:[{mediaQuery:"default",params:{w:440}}],singleCard:[{mediaQuery:"default",params:{fit:"fill",h:470,q:70,w:900}}],singleImageCarouselMobile:[{f:"top_right",fit:"crop",params:{h:360,w:640},q:45}],singleImageDesktop:[{mediaQuery:"default",params:{fit:"fill",q:70,w:1900}}],singleImageMobile:[{mediaQuery:"default",params:{fit:"fill",q:70,w:800}}],sportsClubCommunity:[{mediaQuery:"default",params:{w:850},q:45}]}},94134:function(e,l,a){"use strict";a.d(l,{Z:function(){return o}});var t=a(85893),i=a(23279),n=a.n(i),r=a(67294),s=a(49600);function o(e){return class extends r.Component{constructor(e){super(e),this.state={height:0,isDesktop:!1,isMobile:!0,isTablet:!1,width:0},this.updateWindowDimensions=()=>{let e=window.innerWidth<=650,l=window.innerWidth>=651&&window.innerWidth<=1023,a=window.innerWidth>=1024;this.setState({height:window.innerHeight,isDesktop:a,isMobile:e,isTablet:l,width:window.innerWidth})},this.debounceHandleResize=n()(this.updateWindowDimensions,s.BJ.r)}componentDidMount(){this.updateWindowDimensions(),window.addEventListener("resize",this.debounceHandleResize)}componentWillUnmount(){window.removeEventListener("resize",this.debounceHandleResize)}render(){let{width:l,height:a,isMobile:i,isTablet:n,isDesktop:r}=this.state;return(0,t.jsx)(e,{...this.props,isDesktop:r,isMobile:i,isTablet:n,windowHeight:a,windowWidth:l})}}}},14005:function(e){e.exports={"confirmation-wrapper":"HamptonsConfirmation_confirmation-wrapper__0wJfP",confirmationWrapper:"HamptonsConfirmation_confirmation-wrapper__0wJfP","hero-wrapper":"HamptonsConfirmation_hero-wrapper__EicrC",heroWrapper:"HamptonsConfirmation_hero-wrapper__EicrC","body-text-wrapper":"HamptonsConfirmation_body-text-wrapper__ju5GW",bodyTextWrapper:"HamptonsConfirmation_body-text-wrapper__ju5GW","confirmation-message":"HamptonsConfirmation_confirmation-message__ulRxl",confirmationMessage:"HamptonsConfirmation_confirmation-message__ulRxl","class-wrapper":"HamptonsConfirmation_class-wrapper__snUm1",classWrapper:"HamptonsConfirmation_class-wrapper__snUm1","class-info":"HamptonsConfirmation_class-info__iDZjt",classInfo:"HamptonsConfirmation_class-info__iDZjt"}},91690:function(e){e.exports={"formatted-text":"FormattedHeadline_formatted-text__GtF_j",formattedText:"FormattedHeadline_formatted-text__GtF_j","formatted-text-multi-line":"FormattedHeadline_formatted-text-multi-line__5AmnH",formattedTextMultiLine:"FormattedHeadline_formatted-text-multi-line__5AmnH"}},47547:function(e){e.exports={loader:"Loader_loader__GrUtG",spinner:"Loader_spinner__gZKkW","spinner-border":"Loader_spinner-border__MiKc8",spinnerBorder:"Loader_spinner-border__MiKc8"}},60946:function(e){e.exports={loading:"spinner-with-overlay_loading__1TPvE"}}},function(e){e.O(0,[9284,6202,7982,9456,6122,7602,9600,8597,2888,9774,179],function(){return e(e.s=8917)}),_N_E=e.O()}]); 2//# sourceMappingURL=confirmation-166ba554068e1934.js.map
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.