1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d396e978-65f0-411d-9653-2a541c96ff8c",e._sentryDebugIdIdentifier="sentry-dbid-d396e978-65f0-411d-9653-2a541c96ff8c")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[825],{131:(e,t,n)=>{Promise.resolve().then(n.bind(n,38081))},5163:e=>{e.exports={signuppage:"component_signuppage__xDsZx",signuppage__back:"component_signuppage__back__grkfR"}},38081:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var o,s=n(54568),r=n(33971),a=n(7620),c=n(2791),u=n(44558),i=n(20292),l=n(11156),_=n(1506),I=n(38974),g=n(5163),p=n.n(g),O=((o=O||{})[o.METHOD=1]="METHOD",o[o.CONFIRMATION_CODE=2]="CONFIRMATION_CODE",o);function E({onSignUpSuccess:e,onGoBack:t}){let n=(0,r.c)("account"),[o,g]=(0,a.useState)(1),[O,E]=(0,a.useState)({}),{updateEmail:N,updatePhoneJson:f,updateVerificationCode:d}=(0,u.Mj)(),b={1:(0,s.jsx)(l.q,{onPhoneLogIn:e=>{E({phoneCountryItem:e.countryItem,phoneLocalNumber:e.localNumber}),f(JSON.stringify(e)),g(2)},onEmailLogIn:t=>{E({email:t}),N(t),e()},action:c.xW.SIGN_UP,onSocialLoginSuccess:e}),2:(0,s.jsx)(_.f,{onSuccess:t=>{t&&d(t),e()},account:O,action:i.X2.SIGN_UP,title:n("CONFIRMATION_CODE.TEXT_CONFIRMATION_CODE")})};return(0,s.jsxs)("div",{className:p().signuppage,children:[(0,s.jsx)(I.ButtonBack,{className:p().signuppage__back,onClick:()=>{1!==o?g(e=>e-1):t()}}),b[o]]})}var N=n(68397),f=n(67039);let d=function(){let e=(0,f.rd)();return(0,s.jsx)(E,{onSignUpSuccess:()=>{e.push(N.zF.routes.auth.createProfile)},onGoBack:()=>{e.push(N.zF.routes.shared.root)}})}},44558:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>i});var o,s,r=((o={}).BERTH_OWNER="berth-owner",o.BOAT_OWNER="boat-owner",o),a=((s={}).OWNERSHIP_TYPE="ownershipType",s.EMAIL="email",s.PHONE="phone",s.VERIFICATION_CODE="verificationCode",s),c=n(7620);let u=(e,t)=>{let[n,o]=(0,c.useState)(()=>{try{let n=localStorage.getItem(e);if(!n&&t)return localStorage.setItem(e,t),t;return n||void 0}catch{return}});return[n,t=>{o(t),localStorage.setItem(e,t)}]},i=({ownershipTypeDefault:e}={})=>{let[t,n]=u(a.OWNERSHIP_TYPE,e??r.BOAT_OWNER),[o,s]=u(a.EMAIL),[c,i]=u(a.PHONE),[l,_]=u(a.VERIFICATION_CODE);return{ownershipType:t,updateOwnershipType:n,email:o,updateEmail:s,phoneJson:c,updatePhoneJson:i,verificationCode:l,updateVerificationCode:_}}}},e=>{e.O(0,[560,7541,1966,9236,8549,3249,1606,4129,4512,8521,6214,8504,8414,7223,1224,1936,6190,7107,9406,1979,3289,406,6521,9621,3641,8974,2791,8213,5313,587,6786,7358],()=>e(e.s=131)),_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.