1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9173],{9744:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var r=a(37876),n=a(74493),o=a.n(n);a(14232);var i=a(15039),s=a.n(i),c=a(22233);let l=new String(".aura-btn.jsx-fe42d3b4c4e23f77{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:180px;cursor:pointer;height:54px;border-radius:27px;padding:0 32px;background:linear-gradient(180deg,#48f2f4,#04aaf4 74%);border:0px;outline:none}.btn-disabled.jsx-fe42d3b4c4e23f77{background:grey}.btn-shadow.jsx-fe42d3b4c4e23f77{box-shadow:0 0 14px 0#48f2f4}.new-btn-shadow.jsx-fe42d3b4c4e23f77{background:linear-gradient(277.58deg,#4ec8ff 5.87%,#1df4ed 94.13%);box-shadow:0 24px 40px 6px rgba(56,218,247,.3)}.button-container.jsx-fe42d3b4c4e23f77{width:100%;position:relative;z-index:1}.clean-style.jsx-fe42d3b4c4e23f77{background:linear-gradient(277.58deg,#4ec8ff 5.87%,#1df4ed 94.13%);box-shadow:rgb(4 210 244/62%)0px 29px 33px -12px}.horizontal-gradient.jsx-fe42d3b4c4e23f77{background:linear-gradient(46deg,#4ccaff 0%,#1df5ed 102.13%)}.upgrade-cta.jsx-fe42d3b4c4e23f77{min-width:144px;height:37px;margin-left:6px}.btn-disabled-low-opacity.jsx-fe42d3b4c4e23f77{opacity:.5}.green-btn.jsx-fe42d3b4c4e23f77{background:linear-gradient(30deg,rgba(84,240,184,1),rgba(161,243,27,1)74%);box-shadow:rgb(84 240 184)0px 9px 30px -12px}.green-btn-exp.jsx-fe42d3b4c4e23f77{background:linear-gradient(45deg,#08f057 0%,#b1ff74 100%);box-shadow:0px 8px 40px 2px#38daf74d}.white-btn.jsx-fe42d3b4c4e23f77{background:#fff;min-width:335px}@media screen and (max-width:576px){.upgrade-cta.jsx-fe42d3b4c4e23f77{min-width:120px;max-width:120px;padding:0 16px;margin-left:2px}}.btn-text-container.jsx-fe42d3b4c4e23f77{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative}.aura-btn-blinking.jsx-fe42d3b4c4e23f77:active{animation:blink-animation.3s linear}.blinking.jsx-fe42d3b4c4e23f77{animation:blink-animation.3s linear}@keyframes blink-animation{0%{opacity:1}50%{opacity:.5}100%{opacity:1}}");l.__hash="fe42d3b4c4e23f77";var d=a(68501),g=a(17344);function u({title:e,subTitle:t,onClick:a,style:n,disabled:i,loading:h,withShadow:f,withNewShadow:p,textStyle:x,textWeight:b="regular",classes:m,cleanStyle:w,disableLowOpacity:_,isGreenCta:j,isGreenCtaExp:y,isWhiteCta:v,horizontalGradient:k,blinking:A}){let{isDark:S}=(0,d.A)();return(0,r.jsxs)("button",{onClick:a,disabled:i||h,style:{...n,...w},className:`jsx-${l.__hash} `+(m||s()("aura-btn",{"btn-disabled":i,"no-select":i&&!_,"btn-shadow":!i&&f,"new-btn-shadow":!i&&p,"clean-style":w&&!i,"btn-disabled-low-opacity":_,"green-btn":j&&!y,"green-btn-exp":j&&y,"white-btn":v,"horizontal-gradient":k,"aura-btn-blinking":A})||""),children:[h?(0,r.jsx)(g.A,{size:24,color:"white",style:{height:"100%"}}):(0,r.jsxs)("div",{className:`jsx-${l.__hash} btn-text-container`,children:[(0,r.jsx)(c.A,{color:S?"b100":"w100",type:"body",weight:b,align:"center",style:x,children:e}),t&&(0,r.jsx)(c.A,{color:S?"b100":"w100",type:"body2",weight:"semibold",align:"center",style:{marginTop:2},children:t})]}),(0,r.jsx)(o(),{id:l.__hash,children:l})]})}},10746:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var r=a(14232),n=a(86297),o=a.n(n),i=a(37487),s=a(31777),c=a(76586),l=a(73063),d=a(22100),g=a(51198),u=a(21731);let h={email:"",password:"",givenName:"",invalidEmailError:null,showEmailInput:!1,showPasswordInput:!1,showCTA:!1};function f(e,t){switch(t.type){case"updateEmail":return{...e,email:t.data};case"updatePassword":return{...e,password:t.data};case"updateName":return{...e,givenName:t.data};case"updateError":return{...e,invalidEmailError:t.data};case"updateShowEmailInput":return{...e,showEmailInput:t.data};case"updateShowPasswordInput":return{...e,showPasswordInput:t.data};case"updateShowCTA":return{...e,showCTA:t.data};default:return e}}function p({showErrorToasts:e,isSignUp:t,isValidEmail:a,isNameOptional:n,onSubmit:x,loginOnExistingUserSignUp:b,setShowDetails:m,isStepByStepSignup:w,isModalSignup:_,hide:j,userName:y,onExistingUserSignUpError:v,onError:k}){let[A,S]=(0,r.useReducer)(f,h),N=(0,g.A)(),{t:E}=(0,u.A)(),$=(0,s.wA)(),{email:C,password:I,givenName:L,invalidEmailError:R,showEmailInput:P,showPasswordInput
1:T,showCTA:z}=A;(0,r.useEffect)(()=>{y&&(S({type:"updateName",data:y}),S({type:"updateShowEmailInput",data:!0}))},[y]);let D=(0,r.useCallback)((t,a)=>{e&&N.showError(t),"function"==typeof k&&k(t,a),$((0,i.Le)(!1))},[N,e,k]),U=(0,r.useCallback)((e,t=!1)=>{let a=e.code;if(t&&v&&"function"==typeof v)return void v();switch(a){case"auth/wrong-password":D(E("email_login_form_toast_error_invalid_password"),a);break;case"auth/invalid-email":case"auth/user-not-found":D(E("email_login_form_toast_error_no_account_found"),a);break;case"auth/user-disabled":D(E("email_login_form_toast_error_account_disabled"),a);break;case"auth/email-already-in-use":b?d.A.signInWithEmailAndPassword(d.A.instance,C.trim(),I.trim()).catch(e=>{U(e,!0)}):D(E("email_login_form_toast_error_email_in_use"),a);break;case"auth/weak-password":D(E("email_login_form_toast_error_weak_password"),a);break;default:D(E("email_login_form_toast_error_unknown_error"),a)}},[C,D,b,I,E]),B=(0,r.useCallback)(async()=>{t&&a(C)&&(o()(C)?S({type:"updateError",data:!1}):S({type:"updateError",data:!0}))},[C,t,a]),G=(0,r.useCallback)(e=>{w&&"function"==typeof m&&I.length>6&&(m(!0),S({type:"updateShowCTA",data:!0})),S({type:"updatePassword",data:e.target.value})},[m,w,I]),W=(0,r.useCallback)(e=>{S({type:"updateEmail",data:e.target.value?.trim()}),a(e.target.value?.trim())&&(S({type:"updateShowPasswordInput",data:!0}),"function"==typeof m&&m(!0))},[a,m]),F=(0,r.useCallback)(e=>{S({type:"updateName",data:e.target.value}),S({type:"updateShowEmailInput",data:!0})},[]),M=(0,r.useCallback)(async e=>{($((0,i.Le)(!0)),e&&e.preventDefault&&e.preventDefault(),!t||n||L&&""!==L.trim())?"function"!=typeof a||a(C)?I&&""!==I?t&&I.length<7?D(E("email_login_form_toast_error_short_password")):(x&&x({email:C,password:I,givenName:L||null}),t?await d.A.createUserWithEmailAndPassword(d.A.instance,C.trim(),I.trim()).then(()=>{l.A.authLogin(),_&&j()}).catch(U).finally(()=>{$((0,i.Le)(!1))}):d.A.signInWithEmailAndPassword(d.A.instance,C.trim(),I.trim()).then(()=>{l.A.authLogin(),_&&j()}).catch(U).finally(()=>{$((0,i.Le)(!1))})):D(E("email_login_form_toast_error_enter_password")):D(E("email_login_form_toast_error_enter_valid_email")):D(E("email_login_form_toast_error_enter_valid_name"))},[t,n,L,a,C,I,x,D,E,U,_,j]),K=(0,r.useCallback)(async()=>{if(!a(C))return void D(E("email_login_form_toast_error_valid_email"));let e=await (0,c.i_)(C.toLowerCase());if(e)if("password"!==e.provider)D(E("email_login_form_toast_error_try_relevant_option"));else try{await d.A.sendPasswordResetEmail(d.A.instance,C),N.showSuccess(E("email_login_form_toast_error_password_reset"))}catch(e){D(e.message)}else D(E("email_login_form_toast_error_no_user_found"))},[N,C,D,a,E]);return{onChangeEmail:W,onChangeName:F,onChangePassword:G,handleSubmit:M,handleForgotPassword:K,email:C,givenName:L,handleUserEmailValidation:B,invalidEmailError:R,password:I,showEmailInput:P,showPasswordInput:T,showCTA:z}}},13987:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var r=a(37876),n=a(74493),o=a.n(n),i=a(14232),s=a(31777),c=a(32812),l=a(15039),d=a.n(l),g=a(37487),u=a(22233);let h=new String(".button-holder.jsx-f966439be165cc16{display:flex;justify-content:flex-end}.dropdown-button.jsx-f966439be165cc16{border-radius:28px;border:1px solid rgb(151,151,151);min-height:38px;min-width:90px;margin:0 7px;display:flex;align-items:center;justify-content:center;background-color:white;outline:none}.drop-down-icon.jsx-f966439be165cc16{margin-top:4px;margin-left:4px;font-size:12px;color:rgba(0,0,0,.5)}.dropdown.jsx-f966439be165cc16{position:absolute;top:93%;right:16px;min-width:80px;animation:growDown 300ms ease-in-out forwards;transform-origin:top center;background-color:white;border-radius:5px}.new-drop-down.jsx-f966439be165cc16{position:absolute;top:85%;right:9px;min-width:80px;animation:growDown 300ms ease-in-out forwards;transform-origin:top center;background-color:white;border-radius:5px}.coaching-profile-drop-down.jsx-f966439be165cc16{position:absolute;top:85%;right:0px;min-width:80px;animation:growDown 300ms ease-in-out forwards;transform-origin:top center;background-color:white;border-radius:5px}
1.dropdown.jsx-f966439be165cc16 ul.jsx-f966439be165cc16{background-color:rgb(0,0,0,.16);border-radius:5px}.new-drop-down.jsx-f966439be165cc16 ul.jsx-f966439be165cc16{background-color:rgb(0,0,0,.16);border-radius:5px}ul.jsx-f966439be165cc16{list-style:none;padding:0;margin:0}li.jsx-f966439be165cc16{padding:8px 12px}li.jsx-f966439be165cc16:hover{background-color:rgba(0,0,0,.14);cursor:pointer}@media(min-width:577px){.dropdown-button.jsx-f966439be165cc16{margin:0 5px}.dropdown.jsx-f966439be165cc16{min-width:90px}.new-drop-down.jsx-f966439be165cc16{top:100%}}@keyframes growDown{0%{transform:scaley(0)}80%{transform:scaley(1.1)}100%{transform:scaley(1)}}");function f({user:e,isDisabled:t=!1,authLoading:a,style:n,isCoachingSession:l,isNewCoachProfile:p}){let[x,b]=(0,i.useState)(!1),m=(0,s.wA)(),w=(0,i.useRef)(null);async function _(){m((0,g.vx)())}return(0,i.useEffect)(()=>{function e(e){w.current&&!w.current.contains(e.target)&&b(!1)}return document.addEventListener("mousedown",e,!1),()=>{document.removeEventListener("mousedown",e,!1)}},[w]),(0,r.jsxs)("div",{style:n,onClick:()=>!t&&void b(!x),ref:w,className:`jsx-${h.__hash} button-holder`,children:[!l&&(0,r.jsxs)("button",{className:`jsx-${h.__hash} dropdown-button ${!t&&"clickable"}`,children:[(0,r.jsx)(u.A,{color:"b100",type:"body2",weight:"medium",style:{marginLeft:8,display:"-webkit-box",overflow:"hidden",WebkitLineClamp:1},children:!a&&e&&e.givenName}),(0,r.jsx)("span",{style:{marginRight:8},className:`jsx-${h.__hash} drop-down-icon`,children:x?(0,r.jsx)(c.h9I,{}):(0,r.jsx)(c.s_y,{})})]}),l&&(0,r.jsx)("div",{className:`jsx-${h.__hash} clickable`,children:(0,r.jsx)(u.A,{type:"body",color:"b100",children:!a&&e&&e.givenName})}),x&&(0,r.jsx)("div",{className:`jsx-${h.__hash} `+(d()({dropdown:!p&&!l,"new-drop-down":p,"coaching-profile-drop-down":l})||""),children:(0,r.jsx)("div",{className:`jsx-${h.__hash}`,children:(0,r.jsx)("ul",{className:`jsx-${h.__hash}`,children:(0,r.jsx)("li",{onClick:_,className:`jsx-${h.__hash}`,children:(0,r.jsx)(u.A,{type:"body2",align:"center",color:"b100",children:"Log out"})})})})}),(0,r.jsx)(o(),{id:h.__hash,children:h})]})}h.__hash="f966439be165cc16"},17344:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var r=a(37876),n=a(74493),o=a.n(n);a(14232);let i=new String(".loader-container.jsx-7cf07a168628fdf3{width:100%;height:100vh;display:flex;justify-content:center;align-items:center}");i.__hash="7cf07a168628fdf3";var s=a(53431);let c=new String(".loader-container.jsx-5d18c89632965b13{width:100%;height:100vh;display:flex;justify-content:center;align-items:center}.rotate-ring.jsx-5d18c89632965b13{animation:AuraRingRotate linear 8s infinite}@keyframes AuraRingRotate{0%{transform:rotate(-360deg)}100%{transform:rotate(360deg)}}");function l({size:e}){return(0,r.jsxs)("div",{style:{width:e,height:e},className:`jsx-${c.__hash} rotate-ring`,children:[(0,r.jsx)(s.A,{size:e}),(0,r.jsx)(o(),{id:c.__hash,children:c})]})}function d({size:e,style:t}){return(0,r.jsxs)("div",{"data-testid":"loader",style:t,className:`jsx-${i.__hash} loader-container`,children:[(0,r.jsx)(l,{size:e||100}),(0,r.jsx)(o(),{id:i.__hash,children:i})]})}c.__hash="5d18c89632965b13"},21731:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var r=a(4475),n=a(3184);let o={"/coaching-plan/[slugCoach]":["yourplan"],"/coaches/[slugCoach]/courses/[slugCourse]":["course"],"/coaches/[slugCoach]/video-coaching":["videoCoaching"],"/coaches/[slugCoach]/communities/[slugCommunity]":["community"],"/coaches/[slugCoach]/events/[slugEvent]":["event"],"/signup":["signup"],"/your-plan":["yourplan","signup"],"/subscribe/[pricing]":["subscribe","getapp"],"/subscribe/iap/[userId]/[pricing]":["subscribe"],"/subscribe/webview/[userId]/paywall":["subscribe"],"/subscribe/iap/success":["getapp"],"/subscribe/upsell":["upsell"],"/subscribe/webview/[userId]/paywall/upsell/family-plan":["upsell"],"/subscribe/webview/[userId]/paywall/upsell/family-plan/share":["upsell"],"/getapp":["getapp"],"/guestpass/[slugCoach]":["guestpass"],"/refer/[referralCode]/tracks/[trackId]":["trackReferral"],"/refer/[referralCode]/live/[liveEventId]":["liveReferral"],"/refer/[referralCode]/guest-pass":["guestPassReferral"],"/refer/[referralCode]/challenges/[challengeId]":["challengeReferral"],"/refer/[referralCode]/playlist/[...slug]":["playlistReferral"],"/refer/[referralCode]":["refer"],"/refer/new/[referralCode]":["refer"]},i=e=>
1{let t=o[e]||[];return"/signup"===e&&t.push("yourplan"),t.push("common"),t};var s=a(89099),c=a(14232),l=a(65803);function d(){let e=(0,s.useRouter)(),t=(0,c.useMemo)(()=>i(e.route),[e.route]),{t:a,i18n:n}=(0,l.Bd)(t);return{t:(0,c.useCallback)((e,t)=>a(e,t),[]),currentLocale:n.language||(0,r.aB)(e.locale)}}},22233:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(37876);function n({component:e,type:t,color:a,weight:o,align:i,...s}){return(0,r.jsx)(e||"div",{className:`font custom-font ${t} ${a} ${o} ${i}`,...s})}a(14232)},25330:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var r=a(37876),n=a(74493),o=a.n(n);a(14232);var i=a(89099),s=a(22233),c=a(79374),l=a(50529),d=a(42469),g=a(13383),u=a.n(g);let h=new String(".btn-primary.jsx-8067940a12ccd447{background:linear-gradient(-225deg,rgb(1,248,239)0%,rgb(3,169,244)100%);border-radius:20px;min-height:37px;max-width:120px;width:100%;margin:0 2px;display:flex;align-items:center;justify-content:center}@media(min-width:577px){.btn-primary.jsx-8067940a12ccd447{max-width:144px;margin:0 5px}}");function f({showSignUpModal:e,...t}){let{utm_source:a=null,utm_campaign:n=null}=(0,l.A)(),g=(0,i.useRouter)(),[,p]=(0,c.A)();return(0,r.jsxs)("div",{onClick:function(t){if(t.preventDefault(),e)e();else{let e={utm_source:a,utm_campaign:n,redirectTo:g.asPath},t=(0,d.generateQueryPath)(u().PAGE_SIGNUP,e);g.push(t)}},...t,className:`jsx-${h.__hash} `+(t&&null!=t.className&&t.className||"btn-primary clickable"),children:[(0,r.jsx)(s.A,{color:"w100",type:p?"footnote":"body2",weight:"medium",children:"Get Started Free"}),(0,r.jsx)(o(),{id:h.__hash,children:h})]})}h.__hash="8067940a12ccd447"},25430:()=>{},28164:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(14232);function n(){let[e,t]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{let e,a,r,n;e=navigator.userAgent||window.opera,a=/safari/.test(e),r=/; wv\)/.test(e.toLowerCase()),n=/iphone|ipod|ipad/.test(e.toLowerCase())&&!window.navigator.standalone&&!a,r||n?t(!0):t(!1)},[]),[e]}},32253:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var r=a(37876),n=a(74493),o=a.n(n),i=a(15039),s=a.n(i),c=a(14232);let l=new String(".input-container.jsx-1cb72eb6776515e9{width:100%;min-height:40px;display:flex;align-items:center;border-radius:30px;background:#eef2f3;overflow:hidden;padding-left:30px}.input-container-border.jsx-1cb72eb6776515e9{display:flex;align-items:center;min-height:48px;background:rgb(255,255,255);border:1px solid rgb(151,151,151);padding:0 12px;border-radius:8px;overflow:hidden}.custom-input.jsx-1cb72eb6776515e9{width:100%;height:100%;display:block;border:none;-webkit-appearance:none;-moz-appearance:none;outline:none}.error-input.jsx-1cb72eb6776515e9{border-color:#f227!important;background-color:#f221;color:#f22!important}.white-theme-input.jsx-1cb72eb6776515e9{background-color:rgba(61,65,103,.05);border:1px solid rgba(81,105,167,.1);height:45px;border-radius:8px;display:block;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#495057;padding-left:30px;background-clip:padding-box;transition:border-color.15s ease-in-out,box-shadow.15s ease-in-out}.white-theme-input.jsx-1cb72eb6776515e9:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25)}");l.__hash="1cb72eb6776515e9";let d=(0,c.forwardRef)(function({style:e,fontType:t,color:a,weight:n,align:i,error:d,borderStyle:g,inputStyle:u,useWhiteTheme:h,...f},p){let x=(0,c.useRef)();return(0,c.useImperativeHandle)(p,()=>({focus:()=>{x.current.focus()},select:()=>{x.current.select()},value:x.current.value})),(0,r.jsxs)("div",{style:e,className:`jsx-${l.__hash} `+(s()({"input-container-border":g&&!h,"input-container":!g&&!h})||""),children:[(0,r.jsx)("input",{style:u,ref:x,...f,className:`jsx-${l.__hash} `+(f&&null!=f.className&&f.className||s()(`custom-input font custom-font ${t} ${a} ${n} ${i} ${d&&"error-input"}`,{"white-theme-input":h})||"")}),(0,r.jsx)(o(),{id:l.__hash,children:l})]})})},42771:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var r=a(37876),n=a(74493),o=a.n(n);a(14232);var i=a(15041),s=a(22100),c=a(51198),l=a(22233);function d({btnText:e,style:t,iconStyle:a,textStyle:n,showErrorToasts:g=!0,logoOnly:u,useWhiteTheme:h}){let f=(0,c.A)();async function p(){s.A.FacebookProvider.addScope("public_profile, email");try{await s.A.signInWithPopup(s.A.instance,s.A.FacebookProvider,s.A.browserPopupRedirectResolver)}catch(e){g&&f.showError(e.message)}}return(0,r.jsxs)(r.Fragment,{children:[u?(0,r.jsx)("div",{onClick:p,className:"jsx-c90e8de0ef668304 row align-center justify-center logo-background clickable",children:(0,r.jsx)("img",{src:"/static/images/coachingSession/fb-logo.png",alt:"aura",className:"jsx-c90e8de0ef668304 logo"})}):(0,r.jsxs)("div",{id:"facebook-btn",style:t,onClick:p,className:"jsx-c90e8de0ef668304 clickable",children:[h?(0,r.jsx)("img",{src:"/static/images/coachingSession/fb-logo.png",alt:"aura",style:a,className:"jsx-c90e8de0ef668304 logo"}):(0,r.jsx)("div",{className:"jsx-c90e8de0ef668304 facebook-icon",children:(0,r.jsx)(i.ok6,{style:a})}),(0,r.jsx)(l.A,{type:"subtitle",color:"w100",weight:"regular",align:"center",style:{flexGrow:.6,...n},children:e||"Continue with Facebook"})]}),(0,r.jsx)(o(),{id:"c90e8de0ef668304",children:"#facebook-btn.jsx-c90e8de0ef668304{width:100%;height:40px;
1display:flex;flex-direction:row;justify-content:center;align-items:center;background:#3b5998;background-color:#3b5998;border:1px solid#4267b2;border-radius:20px;box-shadow:0 2px 4px 0 rgba(0,0,0,.25);white-space:nowrap;overflow:hidden;background-clip:padding-box}.facebook-icon.jsx-c90e8de0ef668304{font-size:18px;color:white;margin-top:6px;margin-left:6px}.logo.jsx-c90e8de0ef668304{width:25px;height:25px}.logo-background.jsx-c90e8de0ef668304{width:60px;height:60px;border-radius:50%;box-shadow:0px 12px 40px rgba(43,42,107,.1);background:rgba(255,255,255,.8)}"})]})}},45609:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(31777);function n(e){return(0,r.d4)(e,r.bN)}},50529:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var r=a(89099),n=a(31777),o=a(14232),i=a(37487);function s(e={fetchUserFromQuery:!1}){let t=(0,r.useRouter)(),a=(0,o.useRef)({isPageQueryLoading:!0});(0,o.useEffect)(()=>{a.current={isPageQueryLoading:!1},Array.from(new URLSearchParams(t.asPath.split("?")[1]).entries()).forEach(([e,t])=>{a.current[e]=t})},[t.asPath]),a.current={...a.current,...t.query};let c=(0,n.wA)(),{fetchUserFromQuery:l}=e,{userId:d}=a.current;return(0,o.useEffect)(()=>{d&&l&&c((0,i.Mm)(d))},[d,c,l]),a.current}},51198:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(4301),n=a(14232);function o(){let e=(0,n.useCallback)((e="Success")=>{(0,r.oR)(e,{autoClose:4e3,hideProgressBar:!1,theme:"colored",type:"success",pauseOnHover:!0,style:{fontSize:"14px"}})},[]),t=(0,n.useCallback)((e="Error! Something went wrong")=>{(0,r.oR)(e,{autoClose:4e3,hideProgressBar:!1,theme:"colored",type:"error",pauseOnHover:!0,style:{fontSize:"14px"}})},[]);return(0,n.useMemo)(()=>({showSuccess:e,showError:t}),[e,t])}},53431:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(37876);function n({style:e,size:t}){return(0,r.jsx)("img",{src:"/static/images/icons/auraLogo.png",alt:"Aura Logo",style:{width:t||72,height:t||72,objectFit:"contain",...e}})}a(14232)},60138:()=>{},62805:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(45609),n=a(55610);function o(){let{user:e,isLoading:t,error:a,authLoading:o}=(0,r.A)(({auth:e})=>({...e}));return e&&n.A.sendToGTM({data:{UserEmail:e.email,UserID:e.id}}),{user:e,error:a,isLoading:t,authLoading:o}}},68501:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(45609);function n(){let{isDark:e}=(0,r.A)(({theme:e})=>e);return{isDark:e}}},69560:(e,t,a)=>{"use strict";a.d(t,{A:()=>f});var r=a(61151),n=a(536),o=a(65632),i=a(35079),s=a(68369),c=a(93300),l=a(86278),d=a(90913),g=a(12589);let u="en";function h(){switch(u){case"en":default:return o.c;case"es":return i.es;case"fr":return s.fr;case"de":return c.de;case"pt-BR":return l.F;case"kr":return d.ko;case"ja":return g.ja}}let f={init:function(e){u=e?.replace("_","-")},formatCurrency:function(e,{currency:t="USD",maximumFractionDigits:a=null,locale:r,removeCurrencyCodeFormatting:n=!1}={}){let o={style:"currency",currency:t};return Number.isInteger(a)&&(o.maximumFractionDigits=a,0===a&&(o.minimumFactionDigits=a)),n&&(o.currencyDisplay="narrowSymbol"),Intl.NumberFormat(r||u,o).format(e)},formatPercentage:function(e){return Intl.NumberFormat(u,{style:"percent"}).format(e)},formatNumber:function(e=0,{notation:t,compactDisplay:a}={}){return Intl.NumberFormat(u,{style:"decimal",notation:t,compactDisplay:a}).format(e)},formatDate:function(e,t="MMM dd"){return(0,r.GP)(e,t,{locale:h()})},formatTimezone:function(e,t){let a=t||Intl?.DateTimeFormat().resolvedOptions().timeZone;return(0,n.GP)(e,"zzz",{locale:h(),timeZone:a})}}},72572:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>U,I7:()=>h,XB:()=>D,wI:()=>p});var r=a(89099),n=a.n(r),o=a(14232),i=a(73063),s=a(73142),c=a.n(s),l=a(13383),d=a.n(l),g=a(62805),u=a(50529);let h={a_aid:c().KEYS.USER_INSTALL_AFFILIATE_ID,celeb_id:c().KEYS.USER_INSTALL_CELEBRITY_ID,utm_adset_name:c().KEYS.USER_INSTALL_ADSET_NAME,utm_source:c().KEYS.USER_INSTALL_SOURCE,utm_campaign:c().KEYS.USER_INSTALL_CAMPAIGN,utm_medium:c().KEYS.USER_INSTALL_MEDIUM,utm_content:c().KEYS.USER_INSTALL_CONTENT,utm_campaign_id:c().KEYS.USER_INSTALL_CAMPAIGN_ID,utm_adset_id:c().KEYS.USER_INSTALL_ADSET_ID,utm_ad_id:c().KEYS.USER_INSTALL_AD_ID,utm_site_source_name:c().KEYS.USER_INSTALL_SITE_SOURCE,utm_campaign_name:c().KEYS.USER_INSTALL_CAMPAIGN_NAME,utm_language:c().KEYS.USER_INSTALL_LANGUAGE,utm_term:c().KEYS.USER_INSTALL_TERM},f={a_aid:"Attribution Affiliate ID",celeb_id:"Attribution Celebrity ID",utm_adset_name:"Attribution Ad Set Name",utm_source:"Attribution Install Source",utm_campaign:"Attribution Campaign",utm_medium:"Attribution Medium",utm_content:"Attribution Content",utm_campaign_id:"Attribution Campaign ID",utm_adset_id:"Attribution Ad Set ID",utm_ad_id:"Attribution Ad ID",utm_site_source_name:"Attribution Site Source Name",utm_campaign_name:"Attribution Campaign Name",utm_language:"Attribution Language",utm_term:"Attribution Keyword"},p={a_aid:"affiliateId",celeb_id:"celebrityId",utm_adset_name:"adsetName",utm_source:"installSource",utm_campaign:"campaign",utm_medium:"medium",utm_content:"content",utm_campaign_id:"campaignId",utm_adset_id:"adsetId",utm_ad_id:"adId",utm_site_source_name:"siteSourceName",utm_campaign_name:"campaignName",utm_language:"language",utm_term:"term"},{PAGE_SIGNUP:x,PAGE_CELEBRITIES:b,SLUG_CELEBRITY:m,PAGE_COACHES:w,PAGE_COMMUNITIES:_,PAGE_COURSES:j,PAGE_EVENTS:y,PAGE_REFER:v,SLUG_REFERRAL_CODE:k,PAGE_CHALLENGES:A,PAGE_LIVE:S,PAGE_GUEST_PASS:N,PAGE_TRACKS:E,SLUG_COACH:$,SLUG_COMMUNITY:C,SLUG_COURSE:I,SLUG_EVENT:L,SLUG_TRACK_ID:R,SLUG_CHALLENGE_ID:P,SLUG_LIVE_ID:T}=d(),z=[`/${x}`,`/${b}/${m}`,`/${v}/${k}/${A}/${P}`,`/${v}/${k}/${S}/${T}`,`/${v}/${k}/${E}/${R}`,`/${v}/${k}/${N}`,`/${w}/${$}/${_}/${C}`,`/${w}/${$}/${j}/${I}`,`/${w}/${$}/${y}/${L}`];function D(e){let t={};
1return Object.keys(h).forEach(a=>{let r=e[a]||null,n=f[a],o=c().getItem(h[a])||r;t[n]=o}),t}let U=function(){let e=(0,u.A)(),{user:t,isLoading:a,authLoading:r,error:s}=(0,g.A)();(0,o.useEffect)(()=>{Object.keys(h).forEach(o=>{let l=e[o]||null;if(l&&l.length&&"null"!==l&&!(t||r||a||s)&&c().setItem(h[o],l),z.includes(n().pathname)&&!(t||r||a||s)){let e=f[o],t=c().getItem(h[o])||l;i.A.setPeopleProperties({[e]:t}),i.A.setSuperProperties({[e]:t})}})},[e,t,s,a,r]);let{gclid:l,gbraid:d,wbraid:p}=e;(0,o.useEffect)(()=>{i.A.setGoogleCookies({gclid:l,gbraid:d,wbraid:p})},[l,d,p])}},74252:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(37876),n=a(74493),o=a.n(n);a(14232);var i=a(77328),s=a.n(i);let c=new String(".bottom-background-clean.jsx-92c67734a6712571{position:fixed;bottom:0;left:0;width:100vw;object-fit:cover;z-index:-1}@media screen and (min-width:769px){.bottom-background-clean.jsx-92c67734a6712571{position:fixed;bottom:-10%;object-fit:fill}}");function l(){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("picture",{className:`jsx-${c.__hash}`,children:[(0,r.jsx)(s(),{children:(0,r.jsx)("link",{rel:"preload",href:"/static/images/gradient-1024w.webp",className:`jsx-${c.__hash}`})}),(0,r.jsx)("source",{media:"(max-width:769px)",srcSet:"/static/images/gradient.png",className:`jsx-${c.__hash}`}),(0,r.jsx)("img",{src:"/static/images/gradient-1024w.webp",alt:"aura-background-gradient",className:`jsx-${c.__hash} bottom-background-clean`})]}),(0,r.jsx)(o(),{id:c.__hash,children:c})]})}c.__hash="92c67734a6712571"},78403:()=>{},79374:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var r=a(14232),n=a(42469);function o(e,t){if(!e||!e.length)return null;let a=e[e.length-1].value;if(!t)return a;for(let r=0;r<e.length;r++){let{width:n,value:o}=e[r];if(t<=n){a=o;break}}return a}function i(){let e=(0,n.isClient)(),t=(0,r.useCallback)(()=>e?{width:window.innerWidth,height:window.innerHeight,isMobile:window.innerWidth<=576,select:e=>o(e,window.innerWidth)}:{select:e=>o(e)},[e]),[a,i]=(0,r.useState)(t),[s,c]=(0,r.useState)(!1),[l,d]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e)return!1;function a(){i(t())}return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[e,t]),(0,r.useEffect)(()=>{a.width&&(a.width<=576?s||c(!0):s&&c(!1))},[a.width,s]),(0,r.useEffect)(()=>{a.width&&(a.width<=768?l||d(!0):l&&d(!1))},[a.width,l]),[a,s,l]}},80155:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var r=a(37876),n=a(74493),o=a.n(n);a(14232);var i=a(15041),s=a(22100),c=a(51198),l=a(22233);function d({btnText:e,style:t,iconStyle:a,textStyle:n,showErrorToasts:g=!0,logoOnly:u,useWhiteTheme:h}){let f=(0,c.A)();async function p(){s.A.AppleProvider.addScope("email, name");try{await s.A.signInWithPopup(s.A.instance,s.A.AppleProvider,s.A.browserPopupRedirectResolver)}catch(e){g&&f.showError(e.message)}}return(0,r.jsxs)(r.Fragment,{children:[u?(0,r.jsx)("div",{onClick:p,className:"jsx-652d8f5b0cf7fc4c row align-center justify-center logo-background clickable",children:(0,r.jsx)("img",{src:"/static/images/coachingSession/apple-logo.png",alt:"aura",className:"jsx-652d8f5b0cf7fc4c logo"})}):(0,r.jsxs)("div",{id:"apple-btn",style:t,onClick:p,className:"jsx-652d8f5b0cf7fc4c clickable",children:[h?(0,r.jsx)("img",{src:"/static/images/coachingSession/darkAppleLogo.png",alt:"aura",style:a,className:"jsx-652d8f5b0cf7fc4c logo"}):(0,r.jsx)("div",{className:"jsx-652d8f5b0cf7fc4c apple-icon",children:(0,r.jsx)(i.eMv,{style:a})}),(0,r.jsx)(l.A,{type:"subtitle",color:"w100",weight:"regular",align:"center",style:{flexGrow:.6,...n},children:e||"Continue with Apple"})]}),(0,r.jsx)(o(),{id:"652d8f5b0cf7fc4c",children:"#apple-btn.jsx-652d8f5b0cf7fc4c{width:100%;height:40px;display:flex;flex-direction:row;justify-content:center;align-items:center;background:rgba(0,0,0);background-color:rgba(0,0,0);border:1px solid#4267b2;border-radius:20px;box-shadow:0 2px 4px 0 rgba(0,0,0,.25);white-space:nowrap;overflow:hidden;background-clip:padding-box}.apple-icon.jsx-652d8f5b0cf7fc4c{margin-top:2px;font-size:20px;color:white}.logo.jsx-652d8f5b0cf7fc4c{width:20px;height:25px}.logo-background.jsx-652d8f5b0cf7fc4c{width:60px;height:60px;border-radius:50%;box-shadow:0px 12px 40px rgba(43,42,107,.1);background:rgba(255,255,255,.8)}"})]})}},90765:(e,t,a)=>{"use strict";a.d(t,{A:()=>S});var r=a(37876),n=a(74493),o=a.n(n),i=a(14232),s=a(15039),c=a.n(s),l=a(77281),d=a(28164),g=a(21731),u=a(22100),h=a(51198),f=
1a(22233);function p({btnText:e,style:t,iconStyle:a,textStyle:n,showErrorToasts:i=!0}){let s=(0,h.A)();async function c(){u.A.GoogleProvider.addScope("https://www.googleapis.com/auth/userinfo.email");try{await u.A.signInWithPopup(u.A.instance,u.A.GoogleProvider,u.A.browserPopupRedirectResolver)}catch(e){i&&s.showError(e.message)}}return(0,r.jsxs)("div",{id:"google-btn",style:t,onClick:c,className:"jsx-4c675182b3410a89 clickable",children:[(0,r.jsx)("img",{id:"google-icon",src:"/static/images/icons/google.png",alt:"Google icon",style:a,className:"jsx-4c675182b3410a89"}),(0,r.jsx)(f.A,{type:"subtitle",color:"b64",weight:"regular",align:"center",style:{flexGrow:.6,...n},children:e||"Continue with Google"}),(0,r.jsx)(o(),{id:"4c675182b3410a89",children:"#google-btn.jsx-4c675182b3410a89{width:100%;height:40px;display:flex;flex-direction:row;justify-content:center;align-items:center;background:rgb(255,255,255);border:1px solid rgb(212,212,212);border-radius:20px;box-shadow:0 2px 4px 0 rgba(0,0,0,.25);white-space:nowrap;overflow:hidden;background-clip:padding-box}#google-icon.jsx-4c675182b3410a89{width:22px;height:22px;object-fit:contain}"})]})}var x=a(42771),b=a(26616),m=a(32253),w=a(9744),_=a(10746);function j({isSignUp:e,onSubmit:t,loginOnExistingUserSignUp:a,btnStyle:n,btnText:i,showForgotPassword:s=!0,showErrorToasts:c=!0,useWhiteTheme:l}){let{onChangeEmail:d,onChangeName:g,onChangePassword:u,handleSubmit:h,handleForgotPassword:p,email:x,givenName:y}=(0,_.A)({showErrorToasts:c,isSignUp:e,isValidEmail:b.B,onSubmit:t,loginOnExistingUserSignUp:a});return(0,r.jsxs)("form",{onSubmit:h,className:"jsx-189789d75f5b9b22 form-container",children:[e&&(0,r.jsx)(m.A,{type:"text",fontType:"body",style:l?{marginBottom:8,width:"100%"}:{marginBottom:12,color:"rgba(47,50,55,1)"},onChange:g,value:y,placeholder:"First Name",useWhiteTheme:l}),(0,r.jsx)(m.A,{type:"text",fontType:"body",style:l?{marginBottom:8,width:"100%"}:{marginBottom:12,color:"rgba(47,50,55,1)"},onChange:d,value:x,placeholder:"Email",useWhiteTheme:l}),(0,r.jsx)(m.A,{type:"password",fontType:"body",style:l?{marginBottom:8,width:"100%"}:{marginBottom:12,color:"rgba(47,50,55,1)"},onChange:u,placeholder:"Password",useWhiteTheme:l}),(0,r.jsx)(w.A,{type:"submit",textType:"cta",style:l?{width:"100%",background:"linear-gradient(270deg, rgb(29, 245, 237) -3.23%, rgb(76, 202, 255) 95.81%)",boxShadow:"rgb(76, 202, 255) 0px 10px 25px -2px",marginTop:12,fontSize:18,fontWeight:700,textShadow:"rgba(0, 0, 0, 0.2) 0px 4px 9px",height:"60px",border:"1px",borderRadius:"30px",...n}:{height:40,width:"100%",...n},title:i||"Log In",onClick:h}),s&&!e&&(0,r.jsx)(f.A,{style:{cursor:"pointer",marginTop:16,color:"rgba(47,50,55,0.64)",fontSize:16,lineHeight:"24px",fontWeight:400},type:"body",align:"center",onClick:p,children:"Forgot your password?"}),(0,r.jsx)(o(),{id:"189789d75f5b9b22",children:".form-container.jsx-189789d75f5b9b22{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}"})]})}var y=a(80155);function v({header:e,onSubmit:t,disableLogin:a,disableSignup:n,disableSocial:s,hideCard:u,buttonText:h,onClose:b,style:m,useWhiteTheme:w}){let[_,k]=(0,i.useState)(n),[A]=(0,d.A)(),{t:S}=(0,g.A)(),N={fontSize:14,color:"rgb(47, 50, 55)",fontWeight:600,flexGrow:"unset",height:"auto",letterSpacing:"unset",textTransform:"unset",marginLeft:"8px"},E={marginBottom:"12px",height:"50px",boxShadow:"rgba(43, 42, 107, 0.1) 0px 8px 40px",display:"flex",alignItems:"center",justifyContent:"center",background:"rgb(255, 255, 255)",color:"grey",width:"100%",border:"thin solid rgb(239, 239, 239)",overflow:"hidden",borderRadius:"30px",whiteSpace:"nowrap"};return(0,r.jsxs)("div",{style:m,className:"jsx-38c76f7ba5bf99ba "+(c()(`${!u&&"card component-shadow"} login-card w-100`,{"white-theme-login-card":w})||""),children:[b&&(0,r.jsx)("div",{onClick:b,className:"jsx-38c76f7ba5bf99ba close-icon clickable",children:(0,r.jsx)(l.m6K,{})}),(0,r.jsxs)("div",{style:w?{width:"100%",minWidth:250}:{minWidth:250},className:"jsx-38c76f7ba5bf99ba col align-center justify-center white-theme-content",children:[e&&(0,r.jsx)(f.A,{type:"h4",align:"center",style:w?{fontSize:20,color:"rgb(47, 50, 55)",fontWeight:600,marginBottom:"0.5rem",paddingBottom:"1rem"}:{marginBottom:24,color:"rgba(47, 50, 55, 1)"},children:_?e:"Let's create your account"}),!s&&(0,r.jsxs)(i.Fragment,{children:[!A&&(0,r.jsx)(p,{style:w?E:{marginBottom:12},textStyle:w?N:{color:"rgba(47,50,55,.64)"},iconStyle:w&&{height:20,width:"auto"}}),(0,r.jsx)(x.A,{style:w?E:{marginBottom:12},iconStyle:w&&{height:20,width:"auto"},textStyle:w?N:{color:"rgba(255,255,255,1)"},useWhiteTheme:w}),(0,r.jsx)(y.A,{style:w?{...E,marginBottom:0}:{},textStyle:w?N:{color:"rgba(255,255,255,1)"},iconStyle:w&&{height:20,width:"auto"},useWhiteTheme:w}),(0,r.jsxs)(f.A,{type:"body",align:"center",style:w?{marginTop:25,marginBottom:15,color:"rgba(47, 50, 55, 0.6)",fontWeight:400,fontSize:"1rem"}:{margin:16,color:"rgba(47, 50, 55, 0.24)"},children:[w&&(_?"Or Log In With Email":"Or Sign Up With Email"),!w&&"OR"]})]}),(0,r.jsx)(j,{inputContainerStyle:{marginBottom:8},inputStyle:{backgroundColor:"#EEF2F3",borderColor:"#EEF2F3"}
1,onSubmit:t,isSignUp:!_,btnText:h||(_?"Sign In":"Sign Up"),showForgotPassword:!0,useWhiteTheme:w}),!a&&!n&&(0,r.jsxs)(f.A,{type:"body2",align:"center",style:{marginTop:16,cursor:"pointer",color:"rgba(47, 50, 55, 0.64)"},onClick:()=>{k(!_)},children:[_?"Don't have an account? ":"Already have an account? ",(0,r.jsx)("span",{style:{color:"#03a9f4"},className:"jsx-38c76f7ba5bf99ba",children:_?"Sign Up":"Log In"})]}),A&&(0,r.jsx)(f.A,{type:"footnote-small",color:"b100",align:"center",style:{marginTop:12,maxWidth:170},children:S("text_open_browser_to_login")})]}),!_&&(0,r.jsxs)(f.A,{type:"footnote",align:"center",style:{marginTop:a?20:12,cursor:"pointer",color:"rgba(47, 50, 55, 0.64)"},children:["By continuing, you agree to our"," ",(0,r.jsx)("a",{href:"https://www.aurahealth.io/privacy-policy",target:"_blank",rel:"noopener noreferrer",style:{color:"#03a9f4",fontWeight:900},className:"jsx-38c76f7ba5bf99ba",children:"privacy policy"})," ","and"," ",(0,r.jsx)("a",{href:"https://www.aurahealth.io/terms-of-service",target:"_blank",rel:"noopener noreferrer",style:{color:"#03a9f4",fontWeight:900},className:"jsx-38c76f7ba5bf99ba",children:"terms"})]}),(0,r.jsx)(o(),{id:"38c76f7ba5bf99ba",children:".login-card.jsx-38c76f7ba5bf99ba{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:340px;max-width:430px}.white-theme-login-card.jsx-38c76f7ba5bf99ba{max-width:380px;padding:1.5rem}.white-theme-content.jsx-38c76f7ba5bf99ba{text-align:center!important;padding-right:15px;padding-left:15px}.close-icon.jsx-38c76f7ba5bf99ba{position:absolute;top:16px;right:16px;font-size:26px;text-align:right;align-self:flex-end;color:rgba(0,0,0,.6)}@media only screen and (max-width:576px){.login-card.jsx-38c76f7ba5bf99ba{min-width:0px;max-width:430px}}"})]})}var k=a(62805);let A=new String("#login-modal.jsx-4abd88c2c111b561{position:fixed;z-index:1000;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5);padding:16px;justify-content:center;display:flex;align-items:center}");A.__hash="4abd88c2c111b561";let S=(0,i.forwardRef)(function({allowSignup:e,useWhiteTheme:t,onSubmit:a},n){let[s,c]=(0,i.useState)(!1),{user:l}=(0,k.A)();function d(){c(!0)}function g(){c(!1)}return((0,i.useEffect)(()=>{l&&g()},[l]),(0,i.useImperativeHandle)(n,()=>({show:d,hide:g})),s)?(0,r.jsxs)("div",{id:"login-modal",className:`jsx-${A.__hash}`,children:[(0,r.jsx)(v,{header:"Log in to your account",onClose:g,disableSignup:!e,style:{position:"relative"},useWhiteTheme:t,onSubmit:a}),(0,r.jsx)(o(),{id:A.__hash,children:A})]}):null})},92907:()=>{},93973:(e,t,a)=>{"use strict";a.d(t,{A:()=>J});var r=a(37876),n=a(74493),o=a.n(n),i=a(14232),s=a(77328),c=a.n(s),l=a(89099),d=a.n(l),g=a(15039),u=a.n(g),h=a(31777),f=a(21731),p=a(69560),x=a(4475),b=a(42469),m=a(55154),w=a.n(m),_=a(62805);let j=function(){let e=(0,l.useRouter)(),{user:t,isLoading:a,authLoading:r}=(0,_.A)(),{locale:n}=t||{},o=Object.keys((0,x.hK)()),{pathname:s,query:c,asPath:d,locale:g}=e,u=(0,x.aB)(g);(0,i.useEffect)(()=>{if(a||r)return;let t=n;if(!n){let e=(0,b.getCookie)("PREFERRED_LOCALE");w().debug("No user locale found, getting cookie locale",{cookieLocale:e}),e?t=(0,x.aB)(e):window.navigator?.languages}if(!t||u===t||!o||0===o.length||!o.includes(t))return;let{urlPathId:i}=(0,x.XG)(t);i&&(t=i),e.replace({pathname:s,query:c},d,{locale:t})},[d,r,a,o,u,s,c,e,t,n])};var y=a(70672);let v="Proxima",k=new String(`@font-face{font-family:${v};src:url("/static/fonts/ProximaNova-light.otf");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:${v};src:url("/static/fonts/ProximaNova-Regular.otf");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:${v};src:url("/static/fonts/ProximaNova-Medium.otf");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:${v};src:url("/static/fonts/ProximaNova-Semibold.otf");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:${v};src:url("/static/fonts/ProximaNova-Bold.otf");font-weight:700;font-style:normal;font-display:swap}.font{background-color:transparent}.custom-font{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:${v}!important}.h1{font-family:${v};line-height:52px;font-size:40px;font-weight:500;text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px}.h1-large{font-family:${v};line-height:52px;font-size:44px;font-weight:500;text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px}.h2{font-family:${v};text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px;font-weight:700;font-size:32px;line-height:39px}.h2-small{line-height:34px;font-size:28px;font-weight:400;text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px}.h2-smaller{line-height:34px;font-size:26px;font-weight:600;text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px}.h3{line-height:29px;font-size:24px;font-weight:400;text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px}.h3-large{font-family:${v};line-height:34px;font-size:24px;font-weight:500;text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px}.h3-small{font-family:${v};line-height:27px;font-size:22px;font-weight:400;text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px}.h4{font-family:${v};line-height:24px;font-size:18px;font-weight:500;text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px}.h4-large{font-family:${v};line-height:34px;font-size:20px;font-weight:500;text-shadow:0px 0px 0px;margin-top:0px;margin-bottom:0px}.cta{line-height:22px;font-size:18px;font-weight:400}.body{line-height:24px;font-size:16px;font-weight:400;letter-spacing:0}.body2{line-height:14px;font-size:14px;font-weight:400;letter-spacing:0}.body3{line-height:17px;font-size:13px;font-weight:400;letter-spacing:0}.subtitle{line-height:19px;font-size:16px;font-weight:400}.footnote{line-height:14px;font-size:12px;font-weight:400}.footnote-small{line-height:13px;font-size:10px;font-weight:400}.font.w100{color:rgba(255,255,255,1)}.font.w80{color:rgba(255,255,255,.8)}.font.w76{color:rgba(255,255,255,.76)}.font.w70{color:rgba(255,255,255,.7)}.font.w64{color:rgba(255,255,255,.64)}.font.w40{color:rgba(255,255,255,.4)}.font.w24{color:rgba(255,255,255,.24)}.font.cta-blue{color:rgba(2,207,242,1)}.font.sb{color:rgb(204,204,204)}.font.sm{color:rgb(122,122,122)}.font.sd{color:rgb(64,64,64)}.font.b100{color:rgba(47,50,55,1)}
1.font.b80{color:rgba(47,50,55,.8)}.font.b70{color:rgba(47,50,55,.7)}.font.b64{color:rgba(47,50,55,.64)}.font.b40{color:rgba(47,50,55,.4)}.font.b24{color:rgba(47,50,55,.24)}.font.g100{color:rgba(78,84,95,1)}.font.g50{color:rgba(78,84,95,.5)}.font.g64{color:#9092a3}.font.thin{font-weight:100}.font.ultraLight{font-weight:200}.font.light{font-weight:300}.font.regular{font-weight:400}.font.medium{font-weight:500}.font.semibold{font-weight:600}.font.bold{font-weight:700}.font.heavy{font-weight:800}.font.black{font-weight:900}.font.center{text-align:center}.font.left{text-align:left}.font.right{text-align:right}`);k.__hash="6ef68173e52c03af";let A=new String(".w-100{width:100%}.h-100{height:100%}.w-100vh{width:100vh}.h-100vh{height:100vh}.row{display:flex;flex-direction:row}.col{display:flex;flex-direction:column}.align-center{align-items:center}.align-start{align-items:flex-start}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-space-between{justify-content:space-between}.wrap{flex-wrap:wrap}.card{background:rgb(255,255,255);border:1px solid rgb(221,221,221);border-radius:12px;padding:32px;overflow:hidden}.relative{position:relative}@media only screen and (max-width:576px){.card{padding:24px}}@media only screen and (max-width:350px){.card{padding:16px}}");A.__hash="e442ba98ccdefb3f";let S=new String(".button-shadow{box-shadow:10px 24px 40px -10px rgba(0,0,0,.5)}.component-shadow{box-shadow:10px 24px 40px -10px rgba(0,0,0,.5)}.component-shadow-small{box-shadow:0px 24px 40px -10px rgba(0,0,0,.25)}");S.__hash="1e2ac49a054fc25f";var N=a(73063),E=a(55610),$=a(13383),C=a.n($),I=a(22233),L=a(25330),R=a(79374);let P=new String(".btn-default.jsx-63af3f163e1f0465{border-radius:20px;border:.5px solid rgb(0 0 0/.3);min-height:36px;max-width:80px;width:100%;margin:0px 5px 0px 7px;display:flex;align-items:center;justify-content:center}@media(min-width:577px){.btn-default.jsx-63af3f163e1f0465{max-width:144px;margin:0 5px}}");function T({onClick:e}){let[,t]=(0,R.A)();return(0,r.jsxs)("div",{onClick:e,className:`jsx-${P.__hash} btn-default clickable`,children:[(0,r.jsx)(I.A,{color:"b100",type:t?"footnote":"body2",weight:"medium",children:"Sign in"}),(0,r.jsx)(o(),{id:P.__hash,children:P})]})}P.__hash="63af3f163e1f0465";var z=a(90765),D=a(13987),U=a(50529);let B=new String(".drop-down-icon.jsx-d3a6bf8a0cbb5f35{margin-top:4px;margin-left:4px;font-size:12px;color:rgba(0,0,0,.5)}.aura-ring-text.jsx-d3a6bf8a0cbb5f35{display:inline-flex;margin-top:4px}.player-controls-seo-view.jsx-d3a6bf8a0cbb5f35{display:flex;align-items:center;justify-content:space-between;margin:0}.button-holder.jsx-d3a6bf8a0cbb5f35{flex:5;display:flex;justify-content:flex-end}.nav-top.jsx-d3a6bf8a0cbb5f35{width:100%;position:fixed;z-index:3;background:rgba(255,255,255,255);height:70px;padding:20px 14px 18px 36px;left:0px}@media(min-width:577px){.nav-top.jsx-d3a6bf8a0cbb5f35{width:calc(100vw - 182px);left:182px}}@media(max-width:576px){.nav-top.jsx-d3a6bf8a0cbb5f35{padding:20px 14px 18px 20px}}@media(max-width:320px){.nav-top.jsx-d3a6bf8a0cbb5f35{padding-right:0}}");B.__hash="d3a6bf8a0cbb5f35";var G=a(17344);function W(){let{user:e,authLoading:t,isLoading:a}=(0,_.A)(),n=(0,i.useRef)(null),s=(0,l.useRouter)(),{login:c=null}=(0,U.A)();return(0,i.useEffect)(()=>{if(!t&&!a&&"true"===c&&s.asPath.includes(`/${C().PAGE_AURA}`))if(e){let e=(0,b.generateQueryPath)(`${C().PAGE_AURA}`);s.replace(e)}else n.current&&n.current.show()},[e,t,s,a,c]),(0,r.jsxs)("div",{className:`jsx-${B.__hash} nav-top`,children:[(0,r.jsxs)("div",{className:`jsx-${B.__hash} aura-ring-text player-controls-seo-view`,children:[!e&&(t||a?(0,r.jsxs)("div",{className:`jsx-${B.__hash} button-holder align-center`,children:[(0,r.jsx)(G.A,{color:"#03a9f4",size:24,style:{height:"100%",display:"flex",alignItems:"center",justifyContent:"right"}}),(0,r.jsx)(I.A,{type:"body",style:{marginLeft:8},children:"Loading..."})]}):(0,r.jsxs)("div",{className:`jsx-${B.__hash} button-holder`,children:[(0,r.jsx)(L.A,{}),(0,r.jsx)(T,{onClick:()=>{n.current&&n.current.show()}})]})),e&&(0,r.jsx)("div",{style:{display:"flex",flexDirection:"row",width:"100%",justifyContent:"flex-end"},className:`jsx-${B.__hash}`,children:(0,r.jsx)(D.A,{user:e,authLoading:t,style:{maxWidth:"100%"}})}),(0,r.jsx)(z.A,{ref:n})]}),(0,r.jsx)(o(),{id:B.__hash,children:B})]})}var F=a(120),M=a(22100),K=a(37487),O=a(51198);function Y({onAuthChange:e,isUserFromQuery:t,allowSignup:a}){let r=(0,h.wA)(),n=(0,i.useRef)(),o=(0,O.A)();(0,i.useEffect)(()=>{n.current=e},[e]);let s=(0,i.useCallback)(async e=>{r((0,K.Le)(!0)),N.A.sendDebugEvent("auth change",e?{uid:e.uid,email:e.email,providerData:e.providerData}:null);let t={isLoggedIn:!1,isNewUser:!1,data:null,user:null};if(e){t.isLoggedIn=!0,t.data=e;let n=await r((0,K.sk)(e)).unwrap();if(n)t.user=n,await r((0,K.fZ)(n.id));else if(a)t.isNewUser=!0;else{o.showError("Could not find an existing user with the given email. Please sign up for Aura first."),r((0,K.vx)()),r((0,K.Le)(!1));return}}r((0,K.Le)(!1)),"function"==typeof n.current?n.current(t):t.user&&N.A.signIn(t.user)},[r,a,o]);return(0,i.useEffect)(()=>
1{if(t)return void r((0,K.Le)(!1));N.A.sendDebugEvent("Setting up auth listener");try{let e=(0,F.hg)(M.A.instance,s);return()=>{N.A.sendDebugEvent("cleaning auth listener"),r((0,K.Le)(!1)),e()}}catch(e){return w().error("Error setting up auth listener",{error:e}),null}},[s,t,r]),null}var H=a(72572);let Q=new String("*,*::after,*::before{box-sizing:border-box}body{margin:0}.clickable{cursor:pointer;text-decoration:none}.clickable:hover{opacity:.8}.grabbable:hover{cursor:move;cursor:grab;cursor:-moz-grab;cursor:-webkit-grab}.grabbable:active{cursor:grabbing;cursor:-moz-grabbing;cursor:-webkit-grabbing}.no-select{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.content-padding{padding:26px}.content-padding-clean{padding:18px;padding-bottom:0}.background{background-image:url(/static/images/background-gradient-1.png);min-height:272px;border-radius:52px;position:absolute;z-index:-1;min-width:280px;-webkit-backdrop-filter:blur(60px);backdrop-filter:blur(60px);filter:blur(60px);opacity:.3;left:50%;transform:translate(-50%,0%)rotate(-180deg)}.low-opacity{background:rgba(255,255,255,.1)}");Q.__hash="51b6f50857fb10a0";let Z=new String("#bar.jsx-d0d01859ce7d9829{background:#03a9f4;height:4px;left:0;position:fixed;top:0;z-index:4;width:100%;animation-name:progressBar;animation-duration:6s}.dark-background.jsx-d0d01859ce7d9829{background-color:#18242b;min-height:100vh;width:100%}.new-background.jsx-d0d01859ce7d9829{min-height:100vh;width:100%}.darkmodebackground.jsx-d0d01859ce7d9829{position:fixed;width:100%;height:100%;object-fit:cover}.newdarkbackground.jsx-d0d01859ce7d9829{position:fixed;width:100%;height:100%;object-fit:cover}.light-effect-background.jsx-d0d01859ce7d9829{position:fixed;width:100%;height:100%;z-index:-1}.background-series.jsx-d0d01859ce7d9829{position:fixed;top:0;left:0;width:100%;height:100vh}.darkmodebackground-star.jsx-d0d01859ce7d9829{position:fixed;width:100%;height:100%;object-fit:cover}@keyframes progressBar{from{width:0%}to{width:96%}}@media screen and (max-width:576px){.newdarkbackground.jsx-d0d01859ce7d9829{width:100%;height:400px;object-fit:cover}}");Z.__hash="d0d01859ce7d9829";var V=a(74252);let X=new String(".font.w100{color:rgba(0,0,0,1)}.font.w80{color:rgba(47,50,55,.8)}.font.w64{color:rgba(47,50,55,.64)}.font.w40{color:rgba(47,50,55,.4)}.font.w24{color:rgba(47,50,55,.24)}.font.cta-blue{color:rgba(2,207,242,1)}.font.sb{color:rgb(204,204,204)}.font.sm{color:rgb(122,122,122)}.font.sd{color:rgb(64,64,64)}.font.b100{color:rgba(255,255,255,1)}.font.b80{color:rgba(255,255,255,.8)}.font.b70{color:rgba(255,255,255,.7)}.font.b64{color:rgba(255,255,255,.64)}.font.b40{color:rgba(255,255,255,.4)}.font.b24{color:rgba(255,255,255,.24)}.font.g100{color:rgba(78,84,95,1)}.font.g50{color:rgba(78,84,95,.5)}.font.g64{color:#9092a3}");X.__hash="fe0ba5bf12b55d6a";var q=a(68501);function J({children:e,onAnalyticsInit:t,showBanner:a=!1,useAuth:n=!1,isUserFromQuery:s,allowSignup:l,onAuthChange:g,isDarkMode:x=!1,hideFooterBackground:m,hideBackgroundImages:_,showSeriesBackground:v,isNewBackground:$,newBackgroundImage:I}){let L,R,[P,T]=(0,i.useState)(),z=(0,h.wA)(),{isDark:D}=(0,q.A)(),U=(0,i.useRef)(t);(0,H.Ay)(),L=!!(0,b.isClient)()&&window.isGTMSetup,R=(0,i.useCallback)(e=>{E.A.sendToGTM({data:e})},[]),(0,i.useEffect)(()=>{L||(w().debug("Initializing GTM"),E.A.initGTM(),window.isGTMSetup=!0),R({event:"cookie_consent_update"}),R({event:"pageView",isOnboardingPage:C().ONBOARDING_PAGES.filter(e=>d().pathname.includes(e)).length>0})},[]),j();let{currentLocale:B}=(0,f.A)();return(0,i.useEffect)(()=>{let e=()=>{T(!0)},t=()=>{T(!1)};return d().events.on("routeChangeStart",e),d().events.on("routeChangeComplete",t),d().events.on("routeChangeError",t),()=>{d().events.off("routeChangeStart",e),d().events.off("routeChangeComplete",t),d().events.off("routeChangeError",t)}},[]),(0,i.useEffect)(()=>{U.current=t},[t]),(0,i.useEffect)(()=>{N.A.init(),"function"==typeof U.current&&U.current()},[]),(0,i.useEffect)(()=>{p.A.init(B),z((0,y.Av)(B))},[B,z]),(0,i.useEffect)(()=>{n||z((0,K.Le)(!1))},[n,z]),(0,r.jsxs)("div",{className:`jsx-${Z.__hash} `+(u()({"dark-background":x&&!$,"new-background":$})||""),children:[(0,r.jsxs)(c(),{children:[(0,r.jsx)("link",{rel:"icon",type:"image/png",href:"/static/images/icons/auraLogo.png",className:`jsx-${Z.__hash}`}),(0,r.jsx)("link",{rel:"apple-touch-icon",type:"image/png",href:"/static/images/icons/auraLogo.png",className:`jsx-${Z.__hash}`}),(0,r.jsx)("meta",{property:"og:type",content:"website",className:`jsx-${Z.__hash}`}),(0,r.jsx)("meta",{property:"og:locale",content:"en_US",className:`jsx-${Z.__hash}`}),(0,r.jsx)("link",{rel:"preload",href:"/static/images/dark-background.webp",className:`jsx-${Z.__hash}`}),(0,r.jsx)("link",{rel:"preload",href:"/static/images/NewBackgroun
1d2/newbackground2.webp",className:`jsx-${Z.__hash}`}),(0,r.jsx)("link",{rel:"preload",href:"/static/images/NewBackground2/newbackground2_a.webp",className:`jsx-${Z.__hash}`}),(0,r.jsx)("link",{rel:"preload",href:"/static/images/coach/series-background.webp",className:`jsx-${Z.__hash}`}),(0,r.jsx)("script",{src:"https://cdn.pagesense.io/js/aurahealth/e0c1420547624e6ebe9ad9e6e0585ff1.js",className:`jsx-${Z.__hash}`})]}),x&&!_&&!$&&(0,r.jsx)("img",{src:"/static/images/dark-background.webp",alt:"",className:`jsx-${Z.__hash} light-effect-background`}),x&&!_&&$&&I&&(0,r.jsx)("img",{src:I,alt:"aura",className:`jsx-${Z.__hash} light-effect-background`}),P&&(0,r.jsx)("div",{id:"bar",className:`jsx-${Z.__hash}`}),x&&!_&&!$&&(0,r.jsxs)("div",{className:`jsx-${Z.__hash} row align-center`,children:[(0,r.jsx)("div",{className:`jsx-${Z.__hash}`,children:(0,r.jsx)("img",{src:"/static/images/NewBackground2/newbackground2.webp",alt:"aura",className:`jsx-${Z.__hash} darkmodebackground`})}),(0,r.jsx)("div",{className:`jsx-${Z.__hash}`,children:(0,r.jsx)("img",{src:"/static/images/NewBackground2/newbackground2_a.webp",alt:"aura",className:`jsx-${Z.__hash} newdarkbackground`})})]}),!x&&(!_||!m)&&(0,r.jsx)(V.A,{}),v&&(0,r.jsx)("img",{src:"/static/images/coach/series-background.webp",alt:"aura backgroung",className:`jsx-${Z.__hash} background-series`}),!m&&!$&&(0,r.jsx)(V.A,{}),(n||a)&&(0,r.jsx)(Y,{isUserFromQuery:s,allowSignup:l,onAuthChange:g}),a&&(0,r.jsx)(W,{}),e,(0,r.jsx)(o(),{id:Q.__hash,children:Q}),(0,r.jsx)(o(),{id:k.__hash,children:k}),(0,r.jsx)(o(),{id:A.__hash,children:A}),(0,r.jsx)(o(),{id:S.__hash,children:S}),(0,r.jsx)(o(),{id:Z.__hash,children:Z}),D&&(0,r.jsx)(o(),{id:X.__hash,children:X})]})}}}]); 2//# sourceMappingURL=9173-f071829af5ed354d.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.