PageSourceSearch

https://belonghome.com/_next/static/chunks/pages/auth/sign-in-2ad8bb266f772e12.js

js belonghome.com collected 2026-09-25 20:42:28 UTC 41,290 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3577],{72:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/sign-in",function(){return n(32825)}])},38787:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});let o={"generic.something_went_wrong":"Something went\xa0wrong!","login.title":"Sign In To Belong","login.forgot_password":"FORGOT PASSWORD","login.sign_in":"Sign In","login.sign_up_title":"Not a Belong member?","login.sign_up_cta":"SIGN UP","login.or":"Or","login.something_went_wrong":"Something went wrong. Please sign in if you have an\xa0existing\xa0account.","login.credentials_error":"Invalid Email/Password","login.fb_login_email_mismatch_line_1":"Looks like your Facebook account\xa0doesn’t\xa0match.","login.fb_login_email_mismatch_line_2":"Please create an account with the email\xa0below.","login.google_third_party_error":"Please allow 3rd-party cookies to login with\xa0Google.","sign_up.title":"Become a Belong Member!","sign_up.cta":"Create Account","sign_up.already_a_member":"Already a member?","sign_up.sign_in":"SIGN IN","sign_up.email_taken_line1":"This email already exists. ","sign_up.email_taken_line2":" instead.","sign_up.email_taken":"This email already exist. Please sign in instead.","sign_up.email_taken_button":" SIGN IN","sign_up.error":"Hmm... we were unable to create this account. Please sign in if you have an\xa0existing\xa0account.","forgot_password.title":"Forgot your password?","forgot_password.subtitle":"Enter your email address and we'll send you an email containing a link to reset\xa0your\xa0password.","forgot_password.cta":"Reset Password","forgot_password.success.title":"No problem!","forgot_password.success.subtitle":"We'll send you an email to reset your password if this Belong account exists.","forgot_password.success.cta":"Done","enter_contact.homeowner-title":"Add your phone number to get your inspection locked\xa0in\xa0today.","enter_contact.resident-title":"Add your phone number to discover property\xa0management\xa0reimagined.","enter_contact.generic-title":"Add your phone number to receive more timely\xa0updates.","enter_contact.subtitle":"Connected To","enter_contact.cta":"Save","enter_contant.contact_update_failed":"Unable to update phone. Please\xa0try\xa0again.","enter_contant.phone_already_exists":"That phone number is already in use by another user\xa0account!","set_password.title":"Let's reset your\xa0password!","set_password.subtitle":"What should your new password\xa0be?","set_password.cta":"Update Password","set_password.new_user.title":"Become a Belong\xa0Member.","set_password.new_user.subtitle":"Let's set up your account, starting with a\xa0password.","set_password.new_user.cta":"Create Account","set_password.success_title":"Password successfully\xa0updated.","set_password.success_cta":"Back To Sign In","set_password.error.token_line_1":"This link has expired. Please","set_password.error.reset_password":"RESET YOUR PASSWORD","set_password.again.again":"again.","set_password.footer.agreement":"By continuing, I agree to Belong’s","set_password.footer.privacy":"PRIVACY POLICY","set_password.footer.and":"and","set_password.footer.terms":"TERMS OF SERVICE","wealth.set_password.title":"Lastly, let’s set a password!","wealth.set_password.subtitle":"You can access your wealth analysis at any time from your account.","wealth.set_password.cta":"Create Account","w9.set_password.title":"Congrats! You’re a Belong\xa0Member!","w9.set_password.subtitle":"Now, let’s set up your accounts, starting with a\xa0password.","w9.set_password.cta":"Create Password","terms_footer.first_line":"By continuing, I agree to Belong’s","terms_footer.privacy":"PRIVACY POLICY","terms_footer.and":"and","terms_footer.terms":"TERMS OF SERVICE",enterContactInformation:"Enter your phone or email to\xa0continue.",enterEmailAndPassword:"Enter your email and password to\xa0continue.",noPasswordRequired:"No Password Required",continue:"Continue",orSignInWith:"Or Sign In With",emailOrPhone:"Email Or Phone",addMissingInformation:"Add your contact info to receive\xa0updates.",connectedGoogle:"Connected Google",connectedFacebook:"Connected Facebook",connectedApple:"Connected Apple",enterSmsCode:"Enter the code we just texted\xa0you.",enterEmailCode:"Enter the code we just emailed\xa0you.",magicLink:"We emailed you a magic\xa0link.",magicLinkDescription1:"Please check your",magicLinkDescription2:"email, and click the link to log in to\xa0Belong.",enterCode1:"Enter the code",enterSmsCode2:"we just texted\xa0you.",enterEmailCode2:"we just emailed\xa0you.",phone:"Phone",email:"Email",code:"6-Digit Code",signIn:"Sign In",resendCode:"RESEND CODE",reEnterPhoneNumber:"RE-ENTER PHONE NUMBER",reEnterEmail:"RE-ENTER EMAIL",resendCodeSuccess:"Successfully resend code. Please check your phone\xa0message.",resendEmailCodeSuccess:"Successfully resend magic link. Please check your\xa0email.",multipleAccounts:"We found multiple accounts associated with this\xa0number.",multipleAccountsDescription:"Choose one, and we’ll send you an email to confirm your\xa0account.",multipleEmailsCta:"Next",expiredCode:"Looks like that c
1ode has expired. Please resend it and try\xa0again!",expiredMagicLink:"Looks like that magic link has expired. Please resend it and try\xa0again!",nonExistentAccount:"Invalid {authenticationMethod}. Please try\xa0again.",generalError:"Something went wrong. Please try\xa0again.",unmatchedCode:"That code did not match. Please try\xa0again.",useCode:"Use Code",useMagicLink:"Use Magic Link",lastUsed:"Last Used",lastUsedEmail:"Last Used | Email",lastUsedPhone:"Last Used | Phone"}},31269:function(e,t,n){"use strict";n.d(t,{N:function(){return l}});var o=n(97458),r=n(78912),i=n(23466),a=n(63418),s=n(28934),c=n(60690);function l(e){let{variant:t="primary"}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.x,{className:(0,s.W)("text-center","secondary"===t?"text-dark-gray":""),variant:"p1",children:c.a["terms.first.line"]}),(0,o.jsxs)(a.x,{as:"span",className:(0,s.W)("text-center","secondary"===t?"text-dark-gray":""),variant:"p1",children:[(0,o.jsx)(i.r,{href:r.yy.PRIVACY_POLICY,target:"_blank",variant:"text",children:(0,o.jsx)(a.x,{fontWeight:"semibold",variant:"p1",className:"secondary"===t?"text-dark-gray":"",children:c.a["terms.privacy"]})})," ",c.a["terms.and"]," ",(0,o.jsx)(i.r,{href:r.yy.TERMS,target:"_blank",variant:"text",children:(0,o.jsx)(a.x,{fontWeight:"semibold",variant:"p1",className:"secondary"===t?"text-dark-gray":"",children:c.a["terms.tos"]})})]})]})}},78058:function(e,t,n){"use strict";n.d(t,{P:function(){return m}});var o=n(97458),r=n(70740),i=n(99750),a=n(92163),s=n(70766),c=n(73400),l=n(98869),u=n(93147),d=n(45342);function m(){let e=(0,r.useRouter)(),{mutateAsync:t}=(0,l.ce)();async function n(){try{let n=(0,c.parseCookies)()[i.COOKIES_CONFIG.JWT_TOKEN.name];n&&((0,u.I5)(n),(0,d.I5)(n),await t());let{from:o}=e.query;if(o){e.push(o);return}e.push("/")}catch(t){console.error("Error when navigating to the home page after closing the OTP flow",t),e.push("/")}}return(0,o.jsxs)(s.X,{className:"duration-hover hover:text-dark-navy relative transition-colors ease-in-out",onClick:n,children:[(0,o.jsx)("span",{className:"h-xl w-xl absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"}),(0,o.jsx)(a.b,{width:16})]})}},3882:function(e,t,n){"use strict";n.d(t,{D:function(){return m}});var o=n(97458),r=n(31185),i=n(83289),a=n(23466),s=n(63418),c=n(6205),l=n(60690),u=n(61226),d=n(31924);function m(){var e,t,n;let m=(0,r.z)(),f=null!==(n=null===(t=(0,u.oR)(d.yq).information)||void 0===t?void 0:null===(e=t.contactInformation)||void 0===e?void 0:e.phone)&&void 0!==n?n:c.Rf,g="tel:+1".concat(f.split(" ").join(""));return m?(0,o.jsx)(a.r,{href:g,variant:"text",children:(0,o.jsxs)("div",{className:"flex items-center",children:[(0,o.jsx)("div",{className:"mr-2xs h-lg w-sm",children:(0,o.jsx)(i.E,{src:"/homeowner-lp/icon_phone_color.svg",alt:""})}),(0,o.jsx)("div",{className:"pt-2xs",children:(0,o.jsxs)(s.x,{as:"span",className:"capitalize",fontWeight:"semibold",children:[l.a.questions," ",f]})})]})}):null}},6205:function(e,t,n){"use strict";n.d(t,{Eq:function(){return f},He:function(){return s},Rf:function(){return l},Sg:function(){return m},VG:function(){return c},c:function(){return d},hG:function(){return r},iy:function(){return u},lZ:function(){return a},m8:function(){return i}});var o=n(38787);let r={Apple:"Apple",Facebook:"Facebook",Google:"Google",LinkedIn:"LinkedIn"},i="825517590357-g3dt9hu350dc1gn7r26cffmkarog715l.apps.googleusercontent.com",a="301983933729862",s="https://belonghome.com",c="TOKEN_EMAIL_MISMATCH",l="(833) 313-2564",u="EMAIL_TAKEN",d=["wealth"],m={google:"/icons/google.svg",apple:"/icons/apple_logo.svg",facebook:"/icons/facebook.svg"},f={google:o.T.connectedGoogle,apple:o.T.connectedApple,facebook:o.T.connectedFacebook}},39988:function(e,t,n){"use strict";n.d(t,{md:function(){return x},K$:function(){return v},pO:function(){return _},f0:function(){return w},aU:function(){return b},mr:function(){return y},mI:function(){return E},ck:function(){return k},tp:function(){return S},ap:function(){return C}});var o=n(95638),r=n(99750),i=n(73400),a=n(93147);function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.x1;return t.post("/v2/users/consumer/otp/start",e)}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.x1,n=new FormData;
1return Object.entries(e).forEach(e=>{let[t,o]=e;void 0!==o&&n.append(t,o.toString())}),t.post("/v2/users/consumer/oauth/token",n,{jsonContent:!1})}var l=n(29130),u=n(45342),d=n(86730);let{JWT_TOKEN:m,REFRESH_TOKEN:f,PARTNER_KEY:g,REFERRAL_USER:h,REFERRAL_ID:p}=r.COOKIES_CONFIG,x={Facebook:"Facebook",LinkedIn:"LinkedIn",Google:"Google"};function w(){let{isLoading:e,mutateAsync:t}=(0,o.useMutation)(I);return{isLoginLoading:e,login:t}}function v(){let{isLoading:e,mutateAsync:t}=(0,o.useMutation)(async function(e){let{token:t,refreshToken:n}=await (0,l.q4)(e);if(!t)throw Error();(0,d.yy)(e),(0,i.setCookie)(null,m.name,t,m.options),n&&(0,i.setCookie)(null,f.name,n,f.options),(0,a.I5)(t),(0,u.I5)(t),(null==e?void 0:e.email)&&window.mixpanel&&window.mixpanel.register({email:e.email,loginSource:"belong-next-external",loginTimestamp:new Date().toISOString()})});return{isExternalLoginLoading:e,externalLogin:t}}function y(){let{isLoading:e,mutateAsync:t}=(0,o.useMutation)(j);return{isRegisterLoading:e,register:t}}function b(){let e=(0,o.useQueryClient)();return(0,o.useMutation)(N,{onSuccess:()=>{e.setQueryData("user",void 0)}})}function _(){let e=(0,o.useQueryClient)();return(0,o.useMutation)(l.ss,{onSuccess:()=>{e.invalidateQueries("user")}})}function E(){let e=(0,o.useQueryClient)();return(0,o.useMutation)(l.h1,{onSuccess:()=>{e.invalidateQueries("user")}})}function k(){return(0,o.useMutation)(l.$A)}async function j(e){let t=(0,i.parseCookies)()[g.name],n=await (0,l.gM)({...e,encodedPartnerKey:t});return n.token&&((0,a.I5)(n.token),(0,u.I5)(n.token),(0,i.setCookie)(null,m.name,n.token,m.options),n.refreshToken&&(0,i.setCookie)(null,f.name,n.refreshToken,f.options),(null==e?void 0:e.email)&&window.mixpanel&&window.mixpanel.register({email:e.email,firstName:e.firstName,lastName:e.lastName,phone:e.phone,registrationSource:"belong-next",registrationTimestamp:new Date().toISOString()})),n}async function I(e){let{token:t,refreshToken:n}=await (0,l.jW)(e);if(!t)throw Error();(0,d.yy)(e),(0,i.setCookie)(null,m.name,t,m.options),n&&(0,i.setCookie)(null,f.name,n,f.options),(0,a.I5)(t),(0,u.I5)(t),(null==e?void 0:e.email)&&window.mixpanel&&window.mixpanel.register({email:e.email,loginSource:"belong-next",loginTimestamp:new Date().toISOString()})}async function N(){try{var e,t;await (0,l.l3)(),(0,a.rz)(),(0,u.rz)(),(0,i.destroyCookie)(null,m.name),(0,i.destroyCookie)(null,f.name),(0,i.destroyCookie)(null,h.name,{path:"/"}),(0,i.destroyCookie)(null,p.name,{path:"/"}),null===(e=(t=window).Intercom)||void 0===e||e.call(t,"shutdown")}catch(e){console.error("Error when logging out",e)}}function S(){let{mutateAsync:e}=(0,o.useMutation)(s);return{startOTPFlow:e}}function C(){let{mutateAsync:e}=(0,o.useMutation)(c);return{verifyOTPCode:e}}},60690:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});let o={"first.name":"First Name","last.name":"Last Name",email:"Email",phone:"Phone",password:"Password","get.started":"Get Started","sign.up.sign.in.title":"Enter your details and\xa0receive...","sign.up.sign.in.belong.x.title":"Join 2,100 homeowners","sign.up.sign.in.belong.x.subtitle":"receiving missed payments protection.","benefit.vacancy":"66% less vacancy.","benefit.payments":"guaranteed rent payments.","benefit.care":"exceptional care.","benefit.inspection":"a complimentary Inspection.","benefit.pricing":"a complimentary pricing\xa0report.","sign.up":"Sign Up","sign.in":"Sign In",or:"Or","terms.first.line":"By continuing, I agree to Belong's","terms.privacy":"PRIVACY POLICY","terms.and":"and","terms.tos":"TERMS OF SERVICE","sms.consent.line1":"I agree to receive recurring text messages from Belong at the mobile number provided. Message frequency varies. Message and data rates may apply.","sms.consent.line2":"Reply STOP to cancel, HELP for help. I agree to Belong's",questions:"Questions?","sign.in.error.credentials":"Invalid Email/Password","sign.in.title":"Sign In To Belong","sign.in.forgot.password":"FORGOT PASSWORD","error.generic":"Something went wrong!","error.facebook":"Looks like your Facebook account doesn't match. Please create an account with the email below.","error.google":"Please allow 3rd party cookies to login with Google.","error.email_taken":"This email already exists. Sign in instead."}},38468:function(e,t,n){"use strict";function o(e){return"string"==typeof e&&["INIT_FAILED","GENERIC"].includes(e)}function r(e){return"object"==typeof e&&null!==e&&"status"in e}function i(e){var t;if(!e)return!1;if(/[()]/.test(e))return!0;let n=/^[\d\s+.-]+$/.test(e),o=(null!==(t=e.match(/\d/g))&&void 0!==t?t:[]).length;return n&&o>=5}function a(e){let{timer:t}=e;return t&&Number(t)>0&&300>=Number(t)?Number(t):300}n.d(t,{CJ:function(){return a},Js:function(){return r},H2:function(){return o},xT:function(){return i}}),n(78912),n(15313).lW},32825:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return B}});var o=n(97458),r=n(52983),i=n(70740),a=n(54855),s=n(83289),c=n(63418),l=n(29682),u=n(38787),d=n(31269),m=n(57832),f=n(16176),g=n(99750),h=n(9458),p=n(37754),x=n(40481),w=n(6626),v=n(30430),y=n(9269),b=n(48172),_=n(77957),E=n(85977),k=n(65647),j=n(73400),I=n(31185),N=n(73422),S=n(28934);function C(e){let{children:t,authMethod:n,alternativeMethod:i}=e,a=(0,I.z)(),s=(0,j.parseCookies)()[g.COOKIES_CONFIG.AUTH_METHOD.name],[l,d]=(0,r.useState)(s===n||i&&s===i);return((0,r.useEffect)(()=>{let e;return e=setTimeout(()=>{d(!1)},2500),()=>clearTimeout(e)},[]),a)?(0,o.jsx)(N.u,{content:(0,o.jsx)("div",{className:"bg-blue max-w-md rounded p-[6px]",children:(0,o.jsx)(c.x,{variant:"p1",className:"text-white",fontWeight:"semibold",children:"email"===s?u.T.lastUsedEmail:"phone"===s?u.T.lastUsedPhone:u.T.lastUsed})}),arrowProps:{className:(0,S.W)("fill-blue","email"===s||"phone"===s?"mb-0":"mb-2xs")},open:l,contentProps:{side:"top",onOpenAutoFocus:e=>{e.preventDefault()},className:"data-[state=open]:animate-[fadeIn_300ms_ease-in-out] data-[state=instant-open]:animate-[fadeIn_300ms_ease-in-out] data-[state=closed]:animate-[fadeOut_300ms_ease-in-out]"},children:(0,o.jsx)("div",{className:"relative w-full",children:t})}):(0,o.jsx)(o.Fragment,{children:t})}var O=n(6205),T=n(39988),P=n(38468),A=n(98869),F=n(5727),M=n(64986);let R=(0,M.Ry)({status:(0,M.jt)((0,M.Z_)())});function L(){let e=(0,r.useRef)(!1),[t,n]=(0,r.useState)(!1),[a,s]=(0,r.useState)(!1),[d,I]=(0,r.useState)(""),{externalLogin:N}=(0,T.K$)(),{mutateAsync:S}=(0,A.ce)(),{startOTPFlow:L}=(0,T.tp)(),D=(0,i.useRouter)(),{refetchUserClaims:G}=(0,A.bb)({enabled:!1});async function B(e,t){try{await N(e),(0,j.setCookie)(null,g.COOKIES_CONFIG.AUTH_METHOD.name,t.toLowerCase(),g.COOKIES_CONFIG.AUTH_METHOD.options),(0,j.destroyCookie)(null,g.COOKIES_CONFIG.SESSION_ID.name,{...g.COOKIES_CONFIG.SESSION_ID.options,maxAge:-1}),(0,j.destroyCookie)(null,g.COOKIES_CONFIG.MASKED_SESSION_ID.name,{...g.COOKIES_CONFIG.MASKED_SESSION_ID.options,maxAge:-1});let n=await S();if(!n.phone||!n.email){let{error:e,token:n,...o}=D.query;await D.push({pathname:"/auth/contact-information",query:{...o,provider:t}});return}let{backTo:o}=D.query;
1if(o){let e=o&&"string"==typeof o?decodeURIComponent(o):"/accounts/profile";await D.push(e);return}let{isHomeOwner:r}=(await G()).data||{};r?await D.push("/redirect/flows/homeowner/post-auth"):await D.push("/accounts/profile")}catch(e){if(n(!1),e instanceof F.MS){let t={message:e.message,status:e.status,stack:e.stack};if(e.code===O.VG){I((0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c.x,{variant:"p1",fontWeight:"semibold",className:"py-xs text-red text-center",children:u.T["login.fb_login_email_mismatch_line_1"]}),(0,o.jsx)(c.x,{variant:"p1",fontWeight:"semibold",className:"py-xs text-red text-center",children:u.T["login.fb_login_email_mismatch_line_2"]})]})),(0,x.b)("flow-error",{flowType:"OTP",parsedError:{context:"Token email mismatch",error:{...t}}}),s(!0);return}if("number"==typeof e.status&&e.status>=400&&e.status<500){(0,x.b)("flow-error",{flowType:"OTP",parsedError:{context:"Credentials error",error:{...t}}}),I(u.T["login.credentials_error"]),s(!0);return}}(0,x.b)("flow-error",{flowType:"OTP",parsedError:{context:"Unknown error",error:e}}),I(u.T["generic.something_went_wrong"]),s(!0)}}async function W(e){if(s(!1),n(!0),e.authorization){let t={loginProvider:"Apple",accessToken:e.authorization.id_token,...e.user&&{email:e.user.email,firstName:e.user.name.firstName,lastName:e.user.name.lastName}};await B(t,"Apple")}else(0,x.b)("flow-error",{flowType:"OTP",parsedError:{context:"Apple login error",error:e.error}}),n(!1),I(u.T.generalError),s(!0)}async function U(e){if(s(!1),n(!0),(0,M.is)(e,R))return;let t={loginProvider:T.md.Facebook,accessToken:e.accessToken};await B(t,"Facebook")}async function z(e){s(!1),n(!0);let{code:t}=e;await B({loginProvider:"Google",accessToken:t,loginExperiment:"GoogleAuthFlow"},"Google")}async function K(e,t){let{setSubmitting:o}=t,r="email";try{o(!1),s(!1),n(!0),(0,j.destroyCookie)(null,g.COOKIES_CONFIG.SESSION_ID.name,{...g.COOKIES_CONFIG.SESSION_ID.options,maxAge:-1}),(0,j.destroyCookie)(null,g.COOKIES_CONFIG.MASKED_SESSION_ID.name,{...g.COOKIES_CONFIG.MASKED_SESSION_ID.options,maxAge:-1}),Number(e.emailOrPhone)>=0&&(r="phone");let{backTo:t}=D.query,i=t&&"string"==typeof t?decodeURIComponent(t):void 0,{sessionId:a,timeWindowSizeSeconds:c,otp:l,magicLink:u}=await L({connection:"email"===r?"Email":"Sms",send:"email"===r?"MagicLink":"Code",requestSource:"Consumer",...i&&{redirectUrl:i},..."email"===r?{email:e.emailOrPhone}:{phoneNumber:e.emailOrPhone}});(0,j.setCookie)(null,g.COOKIES_CONFIG.AUTH_METHOD.name,r,g.COOKIES_CONFIG.AUTH_METHOD.options),(0,j.setCookie)(null,g.COOKIES_CONFIG.SESSION_ID.name,a,g.COOKIES_CONFIG.SESSION_ID.options);let d="production"!==p.ENVIRONMENTS.PRODUCTION,{error:m,token:f,...h}=D.query,x=u;if("production"===p.ENVIRONMENTS.DEVELOPMENT&&u){let e=new URL(u);x="http://localhost:3100"+e.pathname+e.search}D.push({pathname:"email"===r?"/auth/magic-link":"/auth/code-verification",query:{...h,...i&&{backTo:i},[r]:e.emailOrPhone,...c?{timer:c}:{},...d&&"phone"===r?{code:l}:{},...d&&"email"===r?{magicLink:x}:{}}})}catch(e){if(n(!1),e instanceof F.MS){I((0,h.X)(u.T.nonExistentAccount,{authenticationMethod:r})),s(!0),(0,x.b)("flow-error",{flowType:"OTP",parsedError:{context:"Error starting the OTP flow",error:{message:e.message,status:e.status,stack:e.stack}}});return}(0,x.b)("flow-error",{flowType:"OTP",parsedError:{context:"Unknown error",error:e}}),I(u.T.generalError),s(!0)}}function q(e){return(0,P.xT)(e)?(0,m.A3)(m.q9,m.Mn)(e):(0,m.A3)(m.q9,m.Jh)(e)}function V(e){return(0,P.xT)(e)?(0,f.So)(e):e}function Z(e){return(0,P.xT)(e)?(0,f.A5)(e):e.replace(/[()\s]/g,"")}return(0,r.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),(0,o.jsxs)(o.Fragment,{children:[t&&(0,o.jsx)(k.$,{}),(0,o.jsxs)("div",{className:"gap-xl flex w-full flex-col",children:[(0,o.jsx)(w.l,{initialValues:{emailOrPhone:""},onSubmit:K,enableReinitialize:!0,children:t=>{let{isValid:n}=t;return(0,o.jsxs)("div",{className:"gap-xl flex w-full flex-col",children:[(0,o.jsx)(C,{authMethod:"email",alternativeMethod:"phone",children:(0,o.jsx)(v.n,{label:u.T.emailOrPhone,name:"emailOrPhone",validate:q,errorMessageVisible:!0,mask:V,unmask:Z})}),(0,o.jsx)("div",{className:"w-full",children:(0,o.jsx)(w.l.SubmitButton,{disabled:!n||!e.current,size:"fluid",children:u.T.continue})})]})}}),(0,o.jsx)(y.i,{borderStyle:"dashed",children:(0,o.jsx)("div",{className:"px-xs",children:(0,o.jsx)(c.x,{className:"text-gray",fontWeight:"semibold",children:u.T.orSignInWith})})}),(0,o.jsxs)("div",{className:"gap-xs flex items-center",children:[(0,o.jsx)(C,{authMethod:"apple",children:(0,o.jsx)(b.h,{redirectURI:"https://belonghome.com",callback:W,iconOnly:!0})}),(0,o.jsx)(C,{authMethod:"facebook",children:(0,o.jsx)(E.J,{appId:"301983933729862",autoLoad:!1,isMobile:!1,fields:"name,email,picture",callback:U,iconOnly:!0,variant:"secondary"})}),(0,o.jsx)(C,{authMethod:"google",children:(0,o.jsx)(_.k,{clientId:"825517590357-g3dt9hu350dc1gn7r26cffmkarog715l.apps.googleusercontent.com",onSuccess:z,onFailure:function(e){if(n(!1),"popup_closed"!==e.type){if("INIT_FAILED"===e){I(u.T["login.google_third_party_error"]),s(!0);return}I(u.T["generic.something_went_wrong"]),s(!0)}},iconOnly:!0})})]})]}),(0,o.jsx)(l.F,{isVisible:a,onClose:function(){s(!1)},autocloseDuration:5e3,variant:"danger",children:d})]})}var D=n(78058),G=n(3882);function B(){let[e,t]=(0,r.useState)(!1),n=(0,i.useRouter)(),{error:a,...s}=n.query;return(0,r.useEffect)(()=>{a&&t(!0)},[a]),(0,r.useEffect)(()=>{let e;return a&&(e=setTimeout(()=>{n.replace({pathname:n.pathname,query:s},void 0,{shallow:!0})},5e3)),()=>clearTimeout(e)},[a,n,s]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"mb-3xl container flex flex-col justify-center",children:[(0,o.jsxs)("div",{className:"mb-2xl mt-xl gap-xs mx-auto flex max-w-xs flex-col text-center xl:max-w-md",children:[(0,o.jsx)(c.x,{as:"h1",variant:"h2",fontWeight:"semibold",children:u.T.enterContactInformation}),(0,o.jsx)(c.x,{as:"h2",className:"text-dark-gray",children:u.T.noPasswordRequired})]}),(0,o.jsx)("div",{className:"contents sm:container sm:block sm:max-w-md",children:(0,o.jsx)(L,{})}),(0,o.jsx)("div",{className:"mt-xl flex w-full items-center justify-center",children:(0,o.jsx)(G.D,{})}),(0,o.jsx)("div",{className:"my-sm text-center",children:(0,o.jsx)(d.N,{variant:"secondary"})})]}),(0,o.jsx)(l.F,{isVisible:e,onClose:function(){t(!1)},variant:"danger",autocloseDuration:5e3,children:u.T.expiredMagicLink}
1)]})}B.getLayout=e=>(0,o.jsxs)("div",{className:"relative flex min-h-full flex-col",children:[(0,o.jsxs)("header",{className:"h-header container flex items-center justify-between",children:[(0,o.jsx)(a.w,{href:"/",className:"h-[27px] w-[77px]","aria-label":"Go To Homepage",children:(0,o.jsx)(s.E,{src:"/logos/belong_logo_web.svg",alt:"Belong logo"})}),(0,o.jsx)(D.P,{})]}),(0,o.jsx)("main",{className:"flex-1",children:e})]})},71451:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var o=n(97458);function r(e){let{title:t,titleId:n,...r}=e;return(0,o.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r,children:[t?(0,o.jsx)("title",{id:n,children:t}):null,(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.973 0C15.5 0 20 4.498 20 9.973 20 15.5 15.502 20 9.973 20 4.498 20 0 15.502 0 9.973 0 4.498 4.498 0 9.973 0zm.527 4c.85 0 1.5.7 1.5 1.5-.05.85-.7 1.5-1.5 1.5C9.65 7 9 6.3 9 5.5c0-.85.7-1.5 1.5-1.5zm1.493 11.555c-.356 1.923-3.834 2.099-3.597-.524.159-1.748.396-3.438.593-5.129.119-1.107-.355-.757-.79-.99-.277-.175-.277-.7.079-.816.435-.175 1.976-.058 2.49-.058.277 0 .435.234.474.641 0 .35-.039.641-.079.99-.197 1.633-.474 3.381-.632 5.012 0 .35.04.99.395.933.356 0 .514-.234.791-.408.158-.117.316.058.277.349h-.001z",fill:"
1currentColor"})]})}},34114:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});var o=n(97458);function r(e){let{title:t,titleId:n,...r}=e;return(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40","aria-labelledby":n,...r,children:[t?(0,o.jsx)("title",{id:n,children:t}):null,(0,o.jsx)("path",{opacity:.2,fill:"currentColor",d:"M20.201 5.169c-8.254 0-14.946 6.692-14.946 14.946 0 8.255 6.692 14.946 14.946 14.946s14.946-6.691 14.946-14.946c-.001-8.254-6.692-14.946-14.946-14.946zm0 26.58c-6.425 0-11.634-5.208-11.634-11.634 0-6.425 5.209-11.634 11.634-11.634 6.425 0 11.633 5.209 11.633 11.634 0 6.426-5.208 11.634-11.633 11.634z"}),(0,o.jsx)("path",{fill:"currentColor",d:"M26.013 10.047l1.654-2.866a14.855 14.855 0 00-7.466-2.012v3.312c2.119 0 4.1.576 5.812 1.566z",children:(0,o.jsx)("animateTransform",{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 20 20",to:"360 20 20",dur:"0.5s",repeatCount:"indefinite"})})]})}},48172:function(e,t,n){"use strict";n.d(t,{h:function(){return d}});var o=n(97458),r=n(52983),i=n(67839),a=n(28934),s=n(70766),c=n(83289),l=n(63418);function u(e){let{redirectURI:t,callback:n,iconOnly:r}=e;function u(e){e.error&&"popup_closed_by_user"===e.error||n(e)}return(0,o.jsx)(i.ZP,{authOptions:{clientId:"com.belong.consumer.web",scope:"email name",redirectURI:t,usePopup:!0},onSuccess:u,onError:u,render:e=>(0,o.jsx)(s.X,{className:"h-button w-full rounded border border-solid border-navy transition-all duration-hover hover:ring-1 hover:ring-inset hover:ring-navy focus:ring-1 focus:ring-inset focus:ring-navy active:ring-1 active:ring-inset active:ring-navy disabled:text-gray",onClick:e.onClick,children:(0,o.jsxs)("div",{className:(0,a.Z)("flex w-full items-center",r?"justify-center":"justify-start"),children:[(0,o.jsx)("div",{className:(0,a.Z)("h-lg w-lg shrink-0",r?"ml-0":"ml-sm"),children:(0,o.jsx)(c.E,{src:"/icons/apple_logo.svg",alt:""})}),!r&&(0,o.jsx)("div",{className:"mr-sm w-full",children:(0,o.jsx)(l.x,{fontWeight:"semibold",children:"Sign In With Apple"})})]})})})}class d extends r.Component{static getDerivedStateFromError(e){return{hasError:!0}}render(){if(!this.state.hasError)return(0,o.jsx)(u,{...this.props})}constructor(e){super(e),this.state={hasError:!1}}}},9269:function(e,t,n){"use strict";n.d(t,{i:function(){return c}});var o=n(97458),r=n(28934);let i={horizontal:"w-full",vertical:"flex-col items-stretch"},a={horizontal:"border-b",vertical:"border-r"},s={solid:"border-solid",dashed:"border-dashed"};function c(e){let{children:t,className:n,borderStyle:c="solid",direction:l="horizontal",borderColor:u="border-gray"}=e;return(0,o.jsxs)("div",{className:(0,r.Z)("flex items-center",i[l],n),children:[(0,o.jsx)("div",{className:(0,r.Z)("flex-1 border-0",u,s[c],a[l])}),t,(0,o.jsx)("div",{className:(0,r.Z)("flex-1 border-0",u,s[c],a[l])})]})}},85977:function(e,t,n){"use strict";n.d(t,{J:function(){return h}});var o=n(97458),r=n(52983),i=n(79930),a=n(28934),s=n(70766),c=n(63418),l={icon:"FacebookLogin-module_icon__QW6fW",button:"FacebookLogin-module_button__uxVqD"};let u=e=>"?"+Object.keys(e).map(t=>"".concat(t,"=").concat(encodeURIComponent(e[t]))).join("&"),d=(e,t)=>decodeURIComponent(e.replace(RegExp("^(?:.*[&\\?]"+encodeURIComponent(t).replace(/[\.\+\*]/g,"\\$&")+"(?:\\=([^&]*))?)?.*$","i"),"$1")),m=()=>{let e=!1;try{e=!!(window.navigator&&window.navigator.standalone||navigator.userAgent.match("CriOS")||navigator.userAgent.match(/mobile/i))}catch(e){}return e},f={primary:"bg-facebook-button transition-colors",secondary:"border border-solid border-navy bg-white transition-all"},g={primary:"hover:bg-facebook-button-active active:bg-facebook-button-active focus:bg-facebook-button-active",secondary:l.button};function h(e){let{isDisabled:t,callback:n,appId:h,xfbml:p=!1,cookie:x=!1,authType:w="",scope:v="public_profile,email",state:y="facebookdirect",responseType:b="code",returnScopes:_=!1,redirectUri:E=window.location.href,autoLoad:k,disableMobileRedirect:j=!1,isMobile:I=m(),fields:N="name",version:S="3.1",language:C="en_US",variant:O="primary",onClick:T,onFailure:P,iconOnly:A}=e,[F,M]=(0,r.useState)(!1),[R,L]=(0,r.useState)(!1),D=(0,r.useRef)(!1);function G(e){if(D.current&&L(!1),e.authResponse){var t;t=e.authResponse,window.FB.api("/me",{locale:C,fields:N},e=>{Object.assign(e,t),n(e)})}else P?P({status:e.status}):n({status:e.status})}function B(e){"connected"===e.status?G(e):window.FB.login(e=>G(e),!0)}return(0,r.useEffect)(()=>
1{if(D.current=!0,document.getElementById("facebook-jssdk")){M(!0);return}window.fbAsyncInit=()=>{window.FB.init({version:"v".concat(S),appId:h,xfbml:p,cookie:x}),D.current&&M(!0),(k||function(){let e=window.location.search;return"facebookdirect"===d(e,"state")&&(d(e,"code")||d(e,"granted_scopes"))}())&&window.FB.getLoginStatus(B)},function(){var e;let t=document.getElementsByTagName("script")[0],n=t;document.getElementById("facebook-jssdk")||((n=document.createElement("script")).id="facebook-jssdk",n.src="https://connect.facebook.net/".concat(C,"/sdk.js"),null==t||null===(e=t.parentNode)||void 0===e||e.insertBefore(n,t))}();let e=document.getElementById("fb-root");return e||((e=document.createElement("div")).id="fb-root",document.body.appendChild(e)),()=>{D.current=!1}},[]),(0,r.useEffect)(()=>{F&&k&&window.FB.getLoginStatus(B)},[k]),(0,o.jsx)(s.X,{className:(0,a.Z)("relative flex h-button w-full items-center justify-center rounded duration-hover",f[O],g[O],"disabled:text-gray"),onClick:function(e){if(!F||R||t)return;if(L(!0),"function"==typeof T&&(T(e),e.defaultPrevented)){L(!1);return}let n={client_id:h,redirect_uri:E,state:y,return_scopes:_,scope:v,response_type:b,auth_type:w};if(I&&!j)window.location.href="https://www.facebook.com/dialog/oauth".concat(u(n));else{if(!window.FB){P&&P({status:"facebookNotLoaded"});return}window.FB.getLoginStatus(e=>{"connected"===e.status?G(e):window.FB.login(G,{scope:v,return_scopes:_,auth_type:n.auth_type})})}},disabled:!!t,children:(0,o.jsxs)("div",{className:(0,a.Z)("flex w-full items-center",A?"justify-center":"justify-start"),children:[(0,o.jsx)("div",{className:(0,a.Z)("flex h-lg w-lg shrink-0 justify-center",A?"ml-0":"ml-sm","secondary"===O&&"rounded-full bg-facebook-button"),children:(0,o.jsx)(i.J,{className:(0,a.Z)("text-white","secondary"===O&&"".concat(l.icon," absolute")),height:30,width:"primary"===O?10:11})}),!A&&(0,o.jsx)("div",{className:"mr-sm w-full",children:(0,o.jsx)(c.x,{fontWeight:"semibold",className:(0,a.Z)({"text-white":"primary"===O}),children:"Connect With Facebook"})})]})})}},77957:function(e,t,n){"use strict";n.d(t,{k:function(){return u}});var o=n(97458),r=n(74497),i=n(28934),a=n(70766),s=n(83289),c=n(63418);function l(e){let{onSuccess:t,onError:n,onNonOAuthError:l,iconOnly:u}=e,d=(0,r.Nq)({onSuccess:t,onError:n,onNonOAuthError:l,flow:"auth-code"});return(0,o.jsx)(a.X,{className:(0,i.Z)("google-login-button-module_button__QOdY5","h-button w-full rounded border border-solid border-navy transition-all duration-hover disabled:text-gray"),onClick:function(){d()},children:(0,o.jsxs)("div",{className:(0,i.Z)("flex w-full items-center",u?"justify-center":"justify-start"),children:[(0,o.jsx)("div",{className:(0,i.Z)("h-lg w-lg shrink-0",u?"ml-0":"ml-sm"),children:(0,o.jsx)(s.E,{src:"/icons/google.svg",alt:""})}),!u&&(0,o.jsx)("div",{className:"mr-sm w-full",children:(0,o.jsx)(c.x,{fontWeight:"semibold",children:"Connect With Google"})})]})})}function u(e){let{clientId:t,onSuccess:n,onFailure:i,iconOnly:a}=e;return(0,o.jsx)(r.rg,{clientId:t,children:(0,o.jsx)(l,{onError:function(e){null==i||i(e)},onNonOAuthError:function(e){null==i||i(e)},onSuccess:function(e){n(e)},iconOnly:a})})}},65647:function(e,t,n){"use strict";n.d(t,{$:function(){return s}});var o=n(97458),r=n(94654),i=n(34114),a=n(63418);
1function s(e){let{showBg:t=!0,className:n,text:s}=e;return(0,o.jsx)("div",{className:(0,r.m)("absolute top-0 bottom-0 left-0 right-0 flex justify-center items-center z-fullscreen",t&&"bg-white-translucent",n),children:(0,o.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,o.jsx)("div",{className:"mx-auto",children:(0,o.jsx)(i.v,{width:40})}),s&&(0,o.jsx)(a.x,{children:s})]})})}},29682:function(e,t,n){"use strict";n.d(t,{F:function(){return m}});var o=n(97458),r=n(52983),i=n(63730),a=n(94654),s=n(92163),c=n(28934),l=n(70766),u=n(63418),d={closeIcon:"Toast-module_closeIcon__IuLEd",mainIcon:"Toast-module_mainIcon__nCkuR",wrapper:"Toast-module_wrapper__0Tvq2"};function m(e){let{className:t,children:n,icon:m,isVisible:f,autocloseDuration:g,onClose:h,variant:p="default"}=e;return((0,r.useEffect)(()=>{f&&g&&setTimeout(()=>{h()},g)},[f,g]),f)?(0,i.createPortal)((0,o.jsx)("div",{className:(0,a.m)("fixed top-sm w-full z-toast md:top-xl md:m-auto md:left-0 md:right-0",d.wrapper,t),children:(0,o.jsx)("div",{className:"mx-sm md:mx-0",children:(0,o.jsx)("div",{className:(0,c.Z)("box-border w-full rounded shadow",{"bg-dark-green":"default"===p,"bg-red":"danger"===p}),children:(0,o.jsxs)("div",{className:"flex justify-between",children:[(0,o.jsxs)("div",{className:"flex w-10/12 items-center p-sm md:w-11/12",children:[(0,r.isValidElement)(m)&&(0,o.jsx)("div",{className:(0,c.Z)("mr-sm hidden shrink-0 md:block",d.mainIcon),children:m}),(0,o.jsx)(u.x,{as:"span",className:"text-white",fontWeight:"semibold",children:n})]}),(0,o.jsx)("div",{className:"flex w-2/12 items-center md:w-1/12",children:(0,o.jsx)(l.X,{className:"p-0 md:p-sm",onClick:h,children:(0,o.jsx)(s.b,{className:(0,c.Z)("w-lg text-white",d.closeIcon),height:16,width:16})})})]})})})}),document.getElementById("toast")):null}},73422:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});var o=n(97458),r=n(52983),i=n(71451),a=n(25894),s=n(88221);let c=e=>{let{condition:t,wrapper:n,children:o}=e;return t?n(o):o};function l(e){let{children:t=(0,o.jsx)("button",{className:"cursor-pointer fill-navy",type:"button",children:(0,o.jsx)(i.a,{width:20})}),content:n,open:l,defaultOpen:u,onOpenChange:d,contentProps:m,arrowProps:f={className:"fill-navy"},portal:g=!1}=e,h=function(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t((()=>{let e=navigator.userAgent;return!!(/android/i.test(e)||/iPad|iPhone|iPod/.test(e))||"ontouchstart"in window||navigator.maxTouchPoints>0})())},[]),e}(),[p,x]=(0,r.useState)(u||!1),w=e=>{x(e),null==d||d(e)};return h?(0,o.jsxs)(a.fC,{open:null!=l?l:p,onOpenChange:w,children:[(0,o.jsx)(a.xz,{asChild:!0,onClick:()=>{w(!p)},children:t}),(0,o.jsx)(c,{condition:g,wrapper:e=>(0,o.jsx)(a.h_,{children:e}),children:(0,o.jsxs)(a.VY,{...m,children:[n,(0,o.jsx)(a.Eh,{...f})]})})]}):(0,o.jsxs)(s.fC,{open:l,defaultOpen:u,onOpenChange:d,children:[(0,o.jsx)(s.xz,{asChild:!0,children:t}),(0,o.jsx)(c,{condition:g,wrapper:e=>(0,o.jsx)(s.h_,{children:e}),children:(0,o.jsxs)(s.VY,{...m,children:[n,(0,o.jsx)(s.Eh,{...f})]})})]})}},70746:function(e,t,n){"use strict";n.d(t,{Av:function(){return a},pF:function(){return o},xv:function(){return i},zi:function(){return r}});var o="right-scroll-bar-position",r="width-before-scroll-bar",i="with-scroll-bars-hidden",a="--removed-body-scroll-bar-size"},1489:function(e,t,n){"use strict";n.d(t,{jp:function(){return h}});var o=n(52983),r=n(2751),i=n(70746),a={left:0,top:0,right:0,gap:0},s=function(e){return parseInt(e||"",10)||0},c=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[s(n),s(o),s(r)]},l=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return a;var t=c(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},u=(0,r.Ws)(),d="data-scroll-locked",m=function(e,t,n,o){var r=e.left,a=e.top,s=e.right,c=e.gap;return void 0===n&&(n="margin"),"\n  .".concat(i.xv," {\n   overflow: hidden ").concat(o,";\n   padding-right: ").concat(c,"px ").concat(o,";\n  }\n  body[").concat(d,"] {\n    overflow: hidden ").concat(o,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(o,";"),"margin"===n&&"\n    padding-left: ".concat(r,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(c,"px ").concat(o,";\n    "),"padding"===n&&"padding-right: ".concat(c,"px ").concat(o,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(i.pF," {\n    right: ").concat(c,"px ").concat(o,";\n  }\n  \n  .").concat(i.zi," {\n    margin-right: ").concat(c,"px ").concat(o,";\n  }\n  \n  .").concat(i.pF," .").concat(i.pF," {\n    right: 0 ").concat(o,";\n  }\n  \n  .").concat(i.zi," .").concat(i.zi," {\n    margin-right: 0 ").concat(o,";\n  }\n  \n  body[").concat(d,"] {\n    ").concat(i.Av,": ").concat(c,"px;\n  }\n")},f=function(){var e=parseInt(document.body.getAttribute(d)||"0",10);return isFinite(e)?e:0},g=function(){o.useEffect(function(){return document.body.setAttribute(d,(f()+1).toString()),function(){var e=f()-1;e<=0?document.body.removeAttribute(d):document.body.setAttribute(d,e.toString())}},[])},h=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;g();var a=o.useMemo(function(){return l(i)},[i]);return o.createElement(u,{styles:m(a,!t,i,n?"":"!important")})}},2751:function(e,t,n){"use strict";n.d(t,{Ws:function(){return s}});var o,r=n(52983),i=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},a=function(){var e=i();return function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},s=function(){var e=a();return function(t){return e(t.styles,t.dynamic),null}}},21556:function(e,t,n){"use strict";n.d(t,{q:function(){return s}});var o=n(52983);function r(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var i="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,a=new WeakMap;function s(e,t){var n,s,c,l=(n=t||null,s=function(t){return e.forEach(function(e){return r(e,t)})},(c=(0,o.useState)(function(){return{value:n,callback:s,facade:{get current(){return c.value},set current(value){var e=c.value;e!==value&&(c.value=value,c.callback(value,e))}}}})[0]).callback=s,c.facade);return i(function(){var t=a.get(l);if(t){var n=new Set(t),o=new Set(e),i=l.current;n.forEach(function(e){o.has(e)||r(e,null)}),o.forEach(function(e){n.has(e)||r(e,i)})}a.set(l,e)},[e]),l}},58646:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var o=n(92336),r=n(52983),i=function(e){var t=e.sideCar,n=(0,o._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw Error("Sidecar medium not found");return r.createElement(i,(0,o.pi)({},n))};function a(e,t){return e.useMedium(t),i}i.isSideCarExport=!0},53820:function(e,t,n){"use strict";n.d(t,{_:function(){return s},s:function(){return a}});var o=n(92336);function r(e){return e}function i(e,t){void 0===t&&(t=r);var n=[],o=!1;return{read:function(){if(o)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var r=t(e,o);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}function a(e,t){return void 0===t&&(t=r),i(e,t)}function s(e){void 0===e&&(e={});var t=i(null);return t.options=(0,o.pi)({async:!0,ssr:!1},e),t}},40481:function(e,t,n){"use strict";function o(e,t){try{var n,o,r;if(null===(n=window.mixpanel)||void 0===n?void 0:n.track){let n=(null===(o=(r=window.mixpanel).get_session_recording_properties)||void 0===o?void 0:o.call(r))||{};window.mixpanel.track(e,{...t,...n})}}catch(e){console.error("Error tracking Mixpanel event:",e)}}n.d(t,{b:function(){return o}})},9458:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var o=n(52983);let r=/(\{[\d|\w]+\})/;function i(e,t){let n=!1,i=e.split(r).filter(e=>!!e).map((e,i)=>{if(e.match(r)){let r=t[e.slice(1,-1)];return void 0==r?r:o.isValidElement(r)?(n=!0,o.Children.toArray(r).map(e=>({...e,key:i.toString()}))):r}return e});return n?i:i.join("")}}},function(e){e.O(0,[7917,4450,8909,5950,5894,5313,1820,4986,2065,2888,9774,179],function(){return e(e.s=72)}),_N_E=e.O()}]);
2//# sourceMappingURL=sign-in-2ad8bb266f772e12.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.