1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9789],{7720:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/register/confirm",function(){return t(28205)}])},44316:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var i=t(85893),r=t(40645),a=t.n(r),s=t(45697),o=t.n(s);let c="form {\n display: flex;\n flex-flow: column nowrap;\n gap: 1rem;\n}";function l(e){let{className:n,onSubmit:t,children:r,styles:s="",useDefaultStyling:o=!0}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("form",{onSubmit:t,autoComplete:"off",className:a().dynamic([["e1379c394ee0fa70",[o?c:"",s]]])+" "+"".concat(null!=n?n:""),children:r}),(0,i.jsx)(a(),{id:"e1379c394ee0fa70",dynamic:[o?c:"",s],children:"".concat(o?c:"","\n ").concat(s,"\n ")})]})}l.propTypes={className:o().string,onSubmit:o().func.isRequired,children:o().node.isRequired,styles:o().string,useDefaultStyling:o().bool}},26793:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var i=t(85893),r=t(40645),a=t.n(r),s=t(29579),o=t(67628),c=t(45697),l=t.n(c);function d(e){let{id:n,register:t,children:r,rules:c={},errorMessage:l="",...d}=e;return(0,i.jsxs)("span",{className:"jsx-25ecb5617c9368c7",children:[(0,i.jsxs)(o.Z,{htmlFor:n,"data-qa":"".concat(n,"-label"),className:"checkboxLabel",children:[(0,i.jsx)("input",{id:n,type:"checkbox",...t(n,c),...d,className:"jsx-25ecb5617c9368c7 "+(d&&null!=d.className&&d.className||"")}),r]}),!!l&&(0,i.jsx)(s.Z,{children:l}),(0,i.jsx)(a(),{id:"25ecb5617c9368c7",children:".checkboxLabel,input.jsx-25ecb5617c9368c7{cursor:pointer}.checkboxLabel{display:block;padding-left:32px;text-indent:-29px;margin-bottom:8px}input.jsx-25ecb5617c9368c7{width:18px;height:18px;accent-color:var(--color-primary);margin-right:1ch;vertical-align:middle}input.jsx-25ecb5617c9368c7:disabled+label.jsx-25ecb5617c9368c7 .labelText.jsx-25ecb5617c9368c7{color:var(--gray-600)}"})]})}d.propTypes={id:l().string.isRequired,register:l().any.isRequired,rules:l().object,children:l().node,type:l().string,errorMessage:l().string}},21918:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var i=t(85893),r=t(40645),a=t.n(r),s=t(45697),o=t.n(s),c=t(67628),l=t(29579),d=t(67294),u=t(87036);function m(e){let{id:n,className:t="",register:r,rules:s={},label:o="Verification Code",type:m="text",errorMessage:x="",...p}=e,[f,h]=(0,d.useState)("");return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.Z,{htmlFor:n,children:o}),(0,i.jsx)("input",{id:n,"data-qa":p["data-qa"],type:m,value:f,autoComplete:"one-time-code",...r(n,{required:"Code is required.",pattern:{value:u.qx,message:"Confirmation code is must be 6 digits"},maxLength:{value:6,message:"Confirmation code max length is 6 digits"},minLength:{value:6,message:"Confirmation code min length is 6 digits"},...s}),...p,onChange:e=>{e.target.value.length<=6&&h(e.target.value.replaceAll(/\D/g,""))},onPaste:e=>{let n="text/plain"===e.clipboardData.items[0].type?0:1;return e.clipboardData.items[n].getAsString(e=>{h(e.replaceAll(/\D/g,"").slice(0,6))})},className:"jsx-c2247284c5470cb8 "+(p&&null!=p.className&&p.className||"marginBottom--6 hideOutlineForMouse ".concat(t))}),(0,i.jsx)(l.Z,{children:x}),(0,i.jsx)(a(),{id:"c2247284c5470cb8",children:"input.jsx-c2247284c5470cb8{display:block;width:100%}"})]})}m.propTypes={id:o().string.isRequired,className:o().string,register:o().func.isRequired,rules:o().object,label:o().string.isRequired,type:o().string,errorMessage:o().string}},67628:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var i=t(85893),r=t(40645),a=t.n(r),s=t(45697),o=t.n(s);function c(e){let{children:n,htmlFor:t,...r}=e;return(0,i.jsxs)("label",{htmlFor:t,...r,className:"jsx-ee5b04898a09b6f3 "+(r&&null!=r.className&&r.className||"marginTop--24"),children:[n,(0,i.jsx)(a(),{id:"ee5b04898a09b6f3",children:"label.jsx-ee5b04898a09b6f3{display:block;margin-bottom:5px}"})]})}c.propTypes={children:o().node.isRequired,className:o().string,htmlFor:o().string.isRequired}},71434:function(e,n,t){"use strict";var i=t(85893),r=t(40645),a=t.n(r),s=t(87036),o=t(41420),c=t(45697),l=t.n(c),d=t(67294),u=t
1(94184),m=t.n(u),x=t(37455),p=t(62464),f=t(41664),h=t.n(f);let b=d.forwardRef(function(e,n){let t,r,c,l,{children:d,className:u="",disabled:f=!1,href:b=null,icon:y,iconOnRight:g=!1,isReversed:j=!1,size:v="",type:_="button",postfixIcon:N=!1,...w}=e,S=(0,p.Z)(),C=v;v===o.i.RESPONSIVE&&(C=S<(0,x.Zg)(s.Bs.MEDIUM)?o.i.SMALL:o.i.LARGE);let{className:E,styles:k}=(C===o.i.LARGE?(t=18,r=43,c=3,l=18):(t=16,r=28,c=2,l=16),{styles:(0,i.jsx)(a(),{id:"9224da3d2a179793",dynamic:[r,t,r,c,l],children:".tertiaryButton.__jsx-style-dynamic-selector{text-decoration:none;font-weight:normal;color:var(--btnTert-text);display:inline-block;height:".concat(r,"px;font-size:").concat(t,"px;line-height:").concat(r,"px;text-align:left;white-space:nowrap;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.tertiaryButton.__jsx-style-dynamic-selector .underline.__jsx-style-dynamic-selector{padding-bottom:").concat(c,"px}.tertiaryButton.__jsx-style-dynamic-selector .icon.__jsx-style-dynamic-selector{font-size:").concat(l,'px;vertical-align:middle;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;padding-right:6px}.tertiaryButton.postfixIcon.__jsx-style-dynamic-selector .icon.__jsx-style-dynamic-selector{padding-right:0;padding-left:6px}.tertiaryButton.__jsx-style-dynamic-selector:hover{text-decoration:none;color:var(--btnTert-text-hover)}.tertiaryButton.__jsx-style-dynamic-selector:focus .underline.__jsx-style-dynamic-selector,.tertiaryButton.__jsx-style-dynamic-selector:hover .underline.__jsx-style-dynamic-selector{border-bottom:2px solid var(--btnTert-text-hover)}.tertiaryButton.withoutIcon.__jsx-style-dynamic-selector::before,.tertiaryButton.withoutIcon.__jsx-style-dynamic-selector::after{content:"";display:inline-block}.tertiaryButton--isReversed.__jsx-style-dynamic-selector{color:var(--btnTert-reversed-text)}.tertiaryButton--isReversed.__jsx-style-dynamic-selector:focus .underline.__jsx-style-dynamic-selector{border-bottom:2px solid var(--btnTert-reversed-text-hover)}.tertiaryButton--isReversed.__jsx-style-dynamic-selector:hover{color:var(--btnTert-reversed-text-hover)}.tertiaryButton--isReversed.__jsx-style-dynamic-selector:hover .underline.__jsx-style-dynamic-selector{border-bottom:2px solid var(--btnTert-reversed-text-hover)}.tertiaryButton.tertiaryButton--disabled.__jsx-style-dynamic-selector,.tertiaryButton.tertiaryButton--disabled.__jsx-style-dynamic-selector:hover{color:var(--btnTert-text-disabled)}.tertiaryButton.tertiaryButton--disabled.tertiaryButton--isReversed.__jsx-style-dynamic-selector,.tertiaryButton.tertiaryButton--disabled.tertiaryButton--isReversed.__jsx-style-dynamic-selector:hover{color:var(--btnTert-reversed-text-disabled)}.tertiaryButton.tertiaryButton--disabled.__jsx-style-dynamic-selector:hover .underline.__jsx-style-dynamic-selector{border-bottom:none}[data-whatinput="mouse"] .tertiaryButton.__jsx-style-dynamic-selector:focus:not(:hover) .underline.__jsx-style-dynamic-selector{border-bottom:none}.flexOrder.__jsx-style-dynamic-selector{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.postfixIcon.__jsx-style-dynamic-selector .flexOrder.__jsx-style-dynamic-selector{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.underline.__jsx-style-dynamic-selector{border-bottom:none!important}')}),className:a().dynamic([["9224da3d2a179793",[r,t,r,c,l]]])}),T={className:m()("tertiaryButton","button--isClear","hideOutlineForMouse","noPrint",E,u,{withoutIcon:!y,"tertiaryButton--isReversed":j,"tertiaryButton--disabled":f,postfixIcon:N}),tabIndex:0,...w},P=null;return(y&&(P=(0,i.jsx)("span",{className:"icon ".concat(E),children:y})),b&&!f)?(0,i.jsxs)(h(),{href:b,ref:n,...T,children:[(0,i.jsxs)("span",{className:"".concat(E," flexOrder"),children:[P,(0,i.jsx)("span",{className:"".concat(E," underline"),children:d})]}),k]}
1):(0,i.jsxs)("button",{...T,ref:n,type:_,disabled:f,children:[(0,i.jsxs)("span",{className:"".concat(E," flexOrder"),children:[!g&&P,(0,i.jsx)("span",{className:"".concat(E," underline"),children:d}),"\xa0\xa0",g&&P]}),k]})});b.propTypes={children:l().node.isRequired,className:l().string,"data-qa":l().string.isRequired,disabled:l().bool,href:l().string,icon:l().element,isReversed:l().bool,size:l().string,type:l().oneOf(["submit","reset","button",void 0])},n.Z=b},80289:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var i=t(85893),r=t(40645),a=t.n(r),s=t(45697),o=t.n(s),c=t(71434),l=t(4162),d=t(41420),u=t(87036);function m(e){let{backButton:n,headerButton:t,children:r,flexBasis:s="auto"}=e,o=null!=n?n:(0,i.jsx)(c.Z,{className:"headerButtons",href:l.Z6.HOME,size:d.i.SMALL,icon:(0,i.jsx)("i",{className:"fa-arrow-left fa-light headerIcons"}),"data-qa":"sign-in-header-go-to-home",children:"Home"});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:a().dynamic([["b808dd16a0c50166",[s,u.Bs.SMALL]]])+" centeredLayout",children:(0,i.jsxs)("div",{className:a().dynamic([["b808dd16a0c50166",[s,u.Bs.SMALL]]])+" content",children:[(0,i.jsxs)("header",{className:a().dynamic([["b808dd16a0c50166",[s,u.Bs.SMALL]]])+" paddingTopBottom--24",children:[o,t]}),(0,i.jsx)("main",{className:a().dynamic([["b808dd16a0c50166",[s,u.Bs.SMALL]]]),children:r})]})}),(0,i.jsx)(a(),{id:"b808dd16a0c50166",dynamic:[s,u.Bs.SMALL],children:".centeredLayout.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;min-height:100vh;padding:0 16px}.content.__jsx-style-dynamic-selector{-webkit-box-flex:0;-webkit-flex:0 1 ".concat(s,";-moz-box-flex:0;-ms-flex:0 1 ").concat(s,";flex:0 1 ").concat(s,"}header.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}main.__jsx-style-dynamic-selector{padding-bottom:75px}.headerIcons.__jsx-style-dynamic-selector{font-size:12px;vertical-align:2px}@media(min-width:").concat(u.Bs.SMALL,"){.centeredLayout.__jsx-style-dynamic-selector{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}}")})]})}m.propTypes={children:o().node.isRequired,backButton:o().node,headerButton:o().node,flexBasis:o().string}},24414:function(e,n,t){"use strict";t.d(n,{$V:function(){return w},H4:function(){return h},Mx:function(){return y},Td:function(){return C},_5:function(){return b},bi:function(){return g},hN:function(){return S},lP:function(){return N},rJ:function(){return v},wI:function(){return _},yA:function(){return j}});var i=t(82729),r=t(17283);function a(){let e=(0,i._)(["\n mutation SIGN_IN($input: SignInInput!) {\n signIn(input: $input) {\n accessToken\n refreshToken\n me {\n id\n firstName\n lastName\n emailAddress\n emailOptIn\n unconfirmedSocialSignUp\n photo {\n publicId\n legacyPath\n width\n height\n }\n notificationSetting {\n jen\n dailyEmail\n smsEnabled\n emailEnabled\n }\n platformGeneration\n }\n }\n }\n"]);return a=function(){return e},e}function s(){let e=(0,i._)(["\n mutation SIGN_UP($input: SignUpInput!) {\n signUp(input: $input)\n }\n"]);return s=function(){return e},e}function o(){let e=(0,i._)(["\n mutation CONFIRM_SIGN_UP($input: ConfirmSignUpInput!) {\n confirmSignUp(input: $input)\n }\n"]);return o=function(){return e},e}function c(){let e=(0,i._)(["\n mutation REQUEST_PHONE_VERIFICATION($input
1: SendSmsVerificationCodeInput!) {\n sendSmsVerificationCode(input: $input) {\n status\n phoneNumber\n }\n }\n"]);return c=function(){return e},e}function l(){let e=(0,i._)(["\n mutation CONFIRM_PHONE_VERIFICATION($input: ConfirmSmsVerificationCodeInput!) {\n confirmSmsVerificationCode(input: $input) {\n phoneNumber\n status\n }\n }\n"]);return l=function(){return e},e}function d(){let e=(0,i._)(["\n mutation UPDATE_PHONE_NUMBER($input: UpdatePhoneNumberInput!) {\n updatePhoneNumber(input: $input) {\n telephone {\n phoneNumber\n countryCode\n verified\n }\n }\n }\n"]);return d=function(){return e},e}function u(){let e=(0,i._)(["\n mutation RESEND_REGISTER_CODE($input: ResendUserConfirmCodeInput!) {\n resendUserConfirmCode(input: $input)\n }\n"]);return u=function(){return e},e}function m(){let e=(0,i._)(["\n mutation FORGOT_PASSWORD($userEmail: String!) {\n forgotPassword(userEmail: $userEmail)\n }\n"]);return m=function(){return e},e}function x(){let e=(0,i._)(["\n mutation FORGOT_PASSWORD_V2($input: ForgotPasswordInput!) {\n forgotPassword_v2(input: $input) {\n executedAction\n emailAddress\n phoneNumber\n actionOptions\n }\n }\n"]);return x=function(){return e},e}function p(){let e=(0,i._)(["\n mutation VERIFY_ONE_TIME_PASSCODE($input: VerifyOneTimePasscodeInput!) {\n verifyOneTimePasscode(input: $input) {\n accessToken\n refreshToken\n me {\n id\n firstName\n lastName\n emailAddress\n emailOptIn\n unconfirmedSocialSignUp\n photo {\n publicId\n legacyPath\n width\n height\n }\n notificationSetting {\n jen\n dailyEmail\n smsEnabled\n emailEnabled\n }\n platformGeneration\n }\n }\n }\n"]);return p=function(){return e},e}function f(){let e=(0,i._)(["\n mutation CONFIRM_FORGOT_PASSWORD($userEmail: String!, $code: String!, $newPassword: String!) {\n confirmForgotPassword(\n confirmationCode: $code\n newPassword: $newPassword\n userEmail: $userEmail\n )\n }\n"]);return f=function(){return e},e}let h=(0,r.Ps)(a()),b=(0,r.Ps)(s()),y=(0,r.Ps)(o()),g=(0,r.Ps)(c()),j=(0,r.Ps)(l()),v=(0,r.Ps)(d()),_=(0,r.Ps)(u()),N=(0,r.Ps)(m()),w=(0,r.Ps)(x()),S=(0,r.Ps)(p()),C=(0,r.Ps)(f())},28205:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return I},default:function(){return R}});var i=t(85893),r=t(45697),a=t.n(r),s=t(73775),o=t(40645),c=t.n(o),l=t(60453),d=t(4162),u=t(22878),m=t(24414),x=t(29579),p=t(44316),f=t(21918),h=t(26793),b=t(41664),y=t.n(b),g=t(67294),j=t(50319);function v(e){let{email:n,clearCode:t}=e,[r,a]=(0,g.useState)(""),[s,{loading:o}]=(0,j.D)(m.wI,{onCompleted:()=>{a("A new code has been sent to your email.")},onError:e=>{a(e.message)}});return(0,i.jsxs)("div",{className:"jsx-1b833ef24d48a6dd inline-block",children:[(0,i.jsx)("button",{"data-qa":"resendCode",onClick:()=>{a(""),t(),s({variables:{input:{emailAddress:n}}})},disabled:o,className:"jsx-1b833ef24d48a6dd button--isClear button--asLink",children:"Resend code"}),(0,i.jsx)("div",{className:"jsx-1b833ef24d48a6dd marginTop--12 message",children:r}),(0,i.jsx)(c(),{id:"1b833ef24d48a6dd",children:".inline-block.jsx-1b833ef24d48a6dd{display:inline-block}.message.jsx-1b833ef24d48a6dd{font-size:16px}"})]})}v.propTypes={email:a().string.isRequired,clearCode:a().func.isRequired};var _=t(61922),N=t(87536),w=t(11163),S=t(80289),C=t(31445),E=t(28618);let k={LimitExceededException:"Attempt limit exceeded, please try again after fifteen minutes.",CodeMismatchException:"Incorrect code. Please recheck the code or resend the code.",ExpiredCodeException:"The provided code is invali
1d or expired.",InternalServerException:"Oops, something went wrong.",MaxRetryReachException:"Youâve reached the maximum possible attempts. Please verify later.",ProfileNoPhoneNumberFound:"User does not have phone number",PhoneNumberAlreadyVerifiedException:"Phone number already verified",VerificationCodeExpiredException:"Code is expired. Please resend code."},T=e=>{var n,t;return(null==e?void 0:null===(n=e.graphQLErrors)||void 0===n?void 0:n.length)?k[null===(t=e.graphQLErrors[0])||void 0===t?void 0:t.errorType]||"An unexpected error occurred.":"An unknown error occurred."};function P(){var e,n;let t=(0,w.useRouter)(),[r,a]=(0,g.useState)(""),[s,o]=(0,g.useState)(!1),[b,k]=(0,g.useState)(!1),[P,I]=(0,g.useState)(!1),[R,O]=(0,g.useState)(""),[L,q]=(0,g.useState)(!1),[B,A]=(0,g.useState)(!0),M=(0,l.Pe)(),{handleSubmit:F,register:Z,formState:{errors:z},reset:$}=(0,N.cI)({defaultValues:{confirmationCode:"",phoneVerificationCode:""}}),[D,{loading:V}]=(0,j.D)(m.Mx,{onCompleted:()=>{k(!0),R?I(!0):(M({event:l.kM.NEW_ACCOUNT}),o(!0))},onError:e=>{var n;M({event:l.kM.ACCOUNT_ERROR}),a(null==e?void 0:null===(n=e.graphQLErrors[0])||void 0===n?void 0:n.message)}}),[U,{loading:H}]=(0,j.D)(m.bi,{onCompleted:()=>q(!0),onError:e=>{var n;return a(null==e?void 0:null===(n=e.graphQLErrors[0])||void 0===n?void 0:n.message)}}),[G,{loading:W}]=(0,j.D)(m.yA,{onCompleted:()=>o(!0),onError:e=>{a(T(e))}}),Q=String(t.query[d.Tx.EMAIL_ADDRESS]),Y=t.query[d.Tx.PHONE_NUMBER]||"",K=Q||"",X=Array.isArray(Y)?Y[0]:Y,J=t.query[d.Tx.PHOTO_PUBLIC_ID]||null,ee=t.query[d.Tx.PHOTO_WIDTH]?parseInt(String(t.query[d.Tx.PHOTO_WIDTH]),10):void 0,en=t.query[d.Tx.PHOTO_HEIGHT]?parseInt(String(t.query[d.Tx.PHOTO_HEIGHT]),10):void 0;(0,g.useEffect)(()=>{X&&O(X)},[X]);let et=()=>{if(a(""),!B){a("You must consent to receive SMS notifications to proceed.");return}U({variables:{input:{phoneNumber:R,emailAddress:K,smsVerificationContext:"SIGN_UP"}}}),q(!0)};if(s)return(0,d.Eh)((0,d.G3)(d.Z6.PROFILE_SIGN_IN,{[d.Tx.FROM_URL]:d.Z6.PROFILE_REGISTER_CONFIRM})),null;let ei=e=>{if(!e||e.length<4)return e;let n=e.replace(/\D/g,"");return"***-***-".concat(n.slice(-4))};return(0,i.jsxs)(S.Z,{children:[(0,i.jsx)(E.Z,{className:"confirmCard",children:(0,i.jsxs)("div",{className:"jsx-a9a57e6cc032d649 cardContents constrainedFieldWidth",children:[(0,i.jsx)("div",{className:"jsx-a9a57e6cc032d649 center",children:(0,i.jsx)(y(),{"data-qa":"sign-in-form-logo",href:d.Z6.HOME,children:(0,i.jsx)(C.Z,{width:220,variant:C.P.STACKED})})}),!b&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h4",{"data-qa":"email-verify-header",className:"jsx-a9a57e6cc032d649 headerCopy center",children:"Please verify your email"}),(0,i.jsx)("p",{"data-qa":"email-verify-label",className:"jsx-a9a57e6cc032d649 center",children:(0,i.jsxs)("small",{className:"jsx-a9a57e6cc032d649",children:["A verification code has been emailed to ",(0,i.jsx)("br",{className:"jsx-a9a57e6cc032d649"})," ",K]})}),(0,i.jsxs)(p.Z,{onSubmit:F(e=>{let{confirmationCode:n}=e;a(""),D({variables:{input:{emailAddress:K,confirmationCode:n,...J&&{photoPublicId:J,photoWidth:ee,photoHeight:en}}}})}),children:[(0,i.jsx)("div",{className:"jsx-a9a57e6cc032d649 constrainedFieldWidth",children:(0,i.jsx)(f.Z,{id:"confirmationCode","data-qa":"confirmationCode",label:"Verification Code",register:Z,errorMessage:null==z?void 0:null===(e=z.confirmationCode)||void 0===e?void 0:e.message})}),r&&(0,i.jsx)(x.Z,{children:(0,i.jsx)("span",{className:"jsx-a9a57e6cc032d649 errorMessage",children:r})}),(0,i.jsx)(u.Z,{"data-qa":"sign-in-confirm",type:"submit",disabled:V,children:V?(0,i.jsx)(_.ZP,{}):"Submit Code"})]}),(0,i.jsx)("div",{className:"jsx-a9a57e6cc032d649 marginTop--6 center",children:(0,i.jsxs)("small",{className:"jsx-a9a57e6cc032d649",children:[(0,i.jsx)("span",{className:"jsx-a9a57e6cc032d649",children:"Did not receive the email?"})," ",(0,i.jsx)(v,{email:K,clearCode:$})]})})]}),b&&P&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h4",{"data-qa":"phone-verification",className:"jsx-a9a57e6cc032d649 headerCopy center",children:"Please verify your number"}),(0,i.jsx)("p",{"data-qa":"phone-verification-code-label",className:"jsx-a9a57e6cc032d649 center phoneVerificationLabel",children:(0,i.jsx)("small",{className:"jsx-a9a57e6cc032d649",children:L?(0,i.jsxs)(i.Fragment,{children:["A verification code was sent to"," ",ei(R),"."]}):(0,i.jsxs)(i.Fragment,{children:["A verification code will be sent to:"," ",ei(R),".",(0,i.jsx)("br",{className:"jsx-a9a57e6cc032d649"}),"Message and data rates may apply."]})})}),L?(0,i.jsxs)(p.Z,{onSubmit:F(e=>{let{phoneVerificationCode:n}=e;
1a(""),G({variables:{input:{phoneNumber:R,emailAddress:K,confirmationCode:n,smsVerificationContext:"SIGN_UP"}}})}),children:[(0,i.jsx)("div",{className:"jsx-a9a57e6cc032d649 constrainedFieldWidth",children:(0,i.jsx)(f.Z,{id:"phoneVerificationCode","data-qa":"phoneVerificationCode",label:"Enter Code",register:Z,errorMessage:null==z?void 0:null===(n=z.phoneVerificationCode)||void 0===n?void 0:n.message})}),r&&(0,i.jsx)(x.Z,{"data-qa":"phone-enrollment-error-message",children:(0,i.jsx)("div",{className:"jsx-a9a57e6cc032d649 errorMessage",children:r})}),(0,i.jsx)(u.Z,{"data-qa":"phone-verify-submit",type:"submit",disabled:W,children:W?(0,i.jsx)(_.ZP,{}):"Submit Code"}),(0,i.jsx)("div",{className:"jsx-a9a57e6cc032d649 marginTop--6 center",children:(0,i.jsxs)("small",{className:"jsx-a9a57e6cc032d649",children:[(0,i.jsx)("span",{"data-qa":"phone-verify-has-received-code-label",className:"jsx-a9a57e6cc032d649",children:"Did not receive the code?"})," ",(0,i.jsx)("button",{"data-qa":"phone-verification-resend",onClick:et,disabled:V,className:"jsx-a9a57e6cc032d649 button--isClear button--asLink",children:"Resend Code"})]})}),(0,i.jsx)("button",{"data-qa":"phone-verifiy-later",onClick:()=>o(!0),disabled:V,className:"jsx-a9a57e6cc032d649 button--isClear button--asLink",children:"Verify Later"})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u.Z,{fullWidth:!0,type:"button",onClick:et,disabled:H,"data-qa":"phone-verification-send",children:H?(0,i.jsx)(_.ZP,{}):"Request Code"}),(0,i.jsx)("div",{className:"jsx-a9a57e6cc032d649 verifyLaterContainer",children:(0,i.jsx)("button",{"data-qa":"phone-verify-later",onClick:()=>o(!0),disabled:V,className:"jsx-a9a57e6cc032d649 button--isClear button--asLink",children:"Verify Later"})}),(0,i.jsxs)("div",{className:"jsx-a9a57e6cc032d649 marginTop--24 marginBottom-24",children:[(0,i.jsx)(h.Z,{id:"smsConsent","data-qa":"phone-sms-consent",register:Z,checked:B,onChange:()=>A(!B),children:"Sign me up to receive Text Notifications (SMS)"}),(0,i.jsx)("p",{"data-qa":"phone-enrollment-label",className:"jsx-a9a57e6cc032d649 phoneEnrollmentLabel",children:"Stay informed about your loved oneâs page and receive helpful resources directly to your mobile phone. Your phone number will only be used for account-related purposes. We will never sell or use it for marketing. Reply YES to complete enrollment. Text HELP for assistance & STOP to unsubscribe. Message and data rates may apply."})]})]})]})]})}),(0,i.jsx)(c(),{id:"a9a57e6cc032d649",children:".confirmCard{width:max(348px,min((100vw*.697 + 97.2px),1e3px));width:clamp(348px,(100vw*.697 + 97.2px),1e3px);-webkit-box-shadow:0px 4px 20px 0px rgba(0,0,0,.05);-moz-box-shadow:0px 4px 20px 0px rgba(0,0,0,.05);box-shadow:0px 4px 20px 0px rgba(0,0,0,.05)}.cardContents.jsx-a9a57e6cc032d649{margin:0 auto}.headerCopy.jsx-a9a57e6cc032d649{text-align:center}.subheaderCopy.jsx-a9a57e6cc032d649{text-align:center;font-size:16px}.errorMessage.jsx-a9a57e6cc032d649{text-align:center;max-width:450px;margin:0 auto}.phoneEnrollmentLabel.jsx-a9a57e6cc032d649{font-size:14px;font-weight:400;line-height:20px;color:#24384c;margin-top:12px;text-align:center}.phoneVerificationLabel.jsx-a9a57e6cc032d649{margin:24px 0}.checkboxLabel{text-align:center;margin:25px 0}.verifyLaterContainer.jsx-a9a57e6cc032d649{text-align:center;margin-top:20px}.verifyLaterButton{color:#495dba!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;line-height:20px!important;-webkit-text-decoration-line:underline!important;-moz-text-decoration-line:underline!important;text-decoration-line:underline!important;-webkit-text-decoration-style:solid!important;-moz-text-decoration-style:solid!important;text-decoration-style:solid!important;-webkit-text-decoration-skip-ink:none!important;text-decoration-skip-ink:none!important;text-decoration-thickness:auto!important;text-underline-offset:auto!important;text-underline-position:from-font!important}.resendCodeButton.jsx-a9a57e6cc032d649{color:#495dba!important;font-size:16px!important;font-style:normal!important;font-weight:400!important;line-height:20px!important;text-decoration:underline!important}"})]})}var I=!0;function R(e){let{page:n}=e;return(0,i.jsx)(s.fc,{value:{page:n},children:(0,i.jsx)(P,{})})}R.propTypes={page:a().object.isRequired}},62464:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var i=t(67294);function r(){let[e,n]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=()=>{requestAnimationFrame(()=>n(window.innerWidth))};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}},37455:function(e,n,t){"use strict";function i(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n?"number"==typeof e&&null!==e&&isFinite(e):!(String(e).search(/[^0-9e.-]+/)>-1)&&!isNaN(parseFloat(e))}function r(e){let n=String(e).match(/[\d.]+/);return Array.isArray(n)?Number(n[0]):NaN}function a(e){return"number"!=typeof e?"NaN":e>999999999?"1B+":e>999999?(Math.floor(e/1e5)/10).toString()+"M":e>999?(Math.floor(e/100)/10).toString()+"K":e<1e3?e.toString():void 0}t.d(n,{Zg:function(){return r},eQ:function(){return a},kE:function(){return i}})}},function(e){e.O(0,[7536,1445,2888,9774,179],function(){return e(e.s=7720)}),_N_E=e.O()}]);
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.