1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5295],{120385:function(e,t,r){"use strict";var s,a,n,o=r(667294);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}t.Z=function(e){return o.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),s||(s=o.createElement("rect",{width:24,height:24,fill:"#fff",rx:8})),a||(a=o.createElement("g",{clipPath:"url(#IconsLogoDS_svg__a)"},o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.67 0A5.67 5.67 0 0 0 0 5.67v12.66A5.67 5.67 0 0 0 5.67 24h12.66A5.67 5.67 0 0 0 24 18.33V5.67A5.67 5.67 0 0 0 18.33 0zm8.363 9.957c.81.835 2.013 1.371 3.58 1.371v2.205c-2.095 0-3.89-.731-5.162-2.04-1.267-1.305-1.936-3.103-1.936-5.103h2.204c0 1.505.498 2.727 1.314 3.567m-7.84 2.914c1.568 0 2.77.537 3.581 1.372.816.84 1.314 2.061 1.314 3.566h2.204c0-2-.67-3.798-1.936-5.102-1.272-1.309-3.067-2.04-5.162-2.04z",clipRule:"evenodd"}))),n||(n=o.createElement("defs",null,o.createElement("clipPath",{id:"IconsLogoDS_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"})))))}},705120:function(e,t,r){"use strict";var s,a=r(667294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
1).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}t.Z=function(e){return a.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),s||(s=a.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M9 4 5 8l4 4"})))}},444020:function(e){"use strict";var t="%[a-f0-9]{2}",r=RegExp("("+t+")|([^%]+?)","gi"),s=RegExp("("+t+")+","gi");e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},a=s.exec(e);a;){try{t[a[0]]=decodeURIComponent(a[0])}catch(e){var n=function(e){try{return decodeURIComponent(e)}catch(a){for(var t=e.match(r)||[],s=1;s<t.length;s++)t=(e=(function e(t,r){try{return[decodeURIComponent(t.join(""))]}catch(e){}if(1===t.length)return t;r=r||1;var s=t.slice(0,r),a=t.slice(r);return Array.prototype.concat.call([],e(s),e(a))})(t,s).join("")).match(r)||[];return e}}(a[0]);n!==a[0]&&(t[a[0]]=n)}a=s.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),l=0;l<o.length;l++){var i=o[l];e=e.replace(RegExp(i,"g"),t[i])}return e}(e)}}},92806:function(e){"use strict";e.exports=function(e,t){for(var r={},s=Object.keys(e),a=Array.isArray(t),n=0;n<s.length;n++){var o=s[n],l=e[o];(a?-1!==t.indexOf(o):t(o,l,e))&&(r[o]=l)}return r}},124083:function(e,t,r){"use strict";r.d(t,{f:function(){return l}});var s=r(667294),a=r(147477),n=r(916571),o=r(581425);let l=(0,r(146670).observer)(()=>{let e=a.Z.getParam(n.IV),t=a.Z.getParam(n.t2);return(0,s.useEffect)(()=>{e&&(o.p.setEmailToStorage(e),a.Z.setParam(n.IV,null)),t&&(o.p.setBeEmailToStorage(t),a.Z.setParam(n.t2,null))},[e,t]),null})},581425:function(e,t,r){"use strict";r.d(t,{p:function(){return i}});var s=r(573292),a=r(415435),n=r(916571),o=r(496213),l=r(987136);class i{}(0,s._)(i,"setEmailToStorage",e=>{if(e===i.getEmailFromLS())return;let t={email:e,ttl:i.getDateTtl()};a.Z.saveObject(n.IV,t)}),(0,s._)(i,"setBeEmailToStorage",e=>{let t=(0,o.z)(e);if(!t||t===i.getEmailFromLS())return;let r={email:t,ttl:i.getDateTtl()};a.Z.saveObject(n.IV,r)}),(0,s._)(i,"getEmailFromLS",()=>{if(!(0,l.j)())return null;let e=a.Z.loadObject(n.IV);if(!e)return null;let{email:t,ttl:r}=e;return new Date>new Date(r)?(a.Z.removeObject(n.IV),null):t}),(0,s._)(i,"getDateTtl",()=>{let e=new Date;return e.setDate(e.getDate()+1),e.toISOString()})},827326:function(e,t,r){"use strict";r.d(t,{N:function(){return c},A:function(){return i}});var s=r(785893),a=r(667294),n=r(732091),o=r(980883);let l=(0,a.createContext)({mode:"standard",startSocialAuth:e=>"google"===e?n.Z.loginByGoogle():"apple"===e?n.Z.loginByApple():"microsoft"===e?n.Z.loginByAMicrosoft():void 0,onAuthSuccess:e=>{let{redirectUrl:t}=e;(0,o.BN)(t||"/")},buildRegistrationQuery:()=>n.Z.parseQueryParamsAndMakeRedirectUri(),signupEnabled:!0}),i=()=>(0,a.useContext)(l),c=e=>{let{config:t,children:r}=e;return(0,s.jsx)(l.Provider,{value:t,children:r})}},807293:function(e,t,r){"use strict";r.d(t,{Z:function(){return eF}});var s,a,n,o=r(785893),l=r(667294),i=r(517563),c=r(605910),u=r(264244),C=r.n(u),p=r(794985),d=r.n(p),_=r(417102),m=e=>{let{title:t}=e;return(0,o.jsx)("h1",{translate:"no",className:d().title,...!_.BB&&{"data-qa":"Login-page-title"},children:t})},h=r(151097),f=r(689900),g=r.n(f),x=r(693967),y=r.n(x),E=r(364826),w=e=>{let{classNames:t,buttonClickHandler:r,btnText:s,resetDefaultStyles:a,icon:n,disabled:l,type:i,tabIndex:c,dataQa:u,...C}=e;return(0,o.jsxs)(E.Z,{onClick:r,className:y()(g().loginBtn,g()[i],t),icon:n,disabled:l,resetDefaultStyles:a,tabIndex:c,...C,dataQa:u,children:[n,s]})},S=r(397679),v=r(827326),b=r(13662),O=r(663921),I=r(480254),R=r(637590),j=r(140593),M=r(755932),T=r.n(M),N=e=>{let{setStep:t,step:r}=e,s=(0,l.useRef)(),{t:a}=(0,j.C)(),{onAuthSuccess:n}=(0,v.A)(),[u,p]=(0,l.useState)({password:"",confirmPassword:"",saving:!1,errorMode:"NEW_PASSWORD_ERROR"===r,errorTypePassword:"",errorTypePasswordConfirm:""}),{password:d,confirmPassword:_,saving:f,errorTypePassword:g,errorTypePasswordConfirm:x,errorMode:E}=u;(0,l.useEffect)(()=>{var e;null===(e=s.current)||void 0===e||e.focus()},[]);let M=(0,l.useCallback)(async()=>
1{if(d.length<5){p(e=>({...e,errorTypePassword:a(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS)})),R.Z.createOrUpdateToast("newPassword",a(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS)),t("NEW_PASSWORD_ERROR");return}if(!d){p(e=>({...e,errorTypePassword:a(b.OX.PASSWORD_MUST_BE_NOT_EMPTY)})),R.Z.createOrUpdateToast("newPasswordEmpty",a(b.OX.PASSWORD_MUST_BE_NOT_EMPTY));return}if(d!==_){p(e=>({...e,errorTypePasswordConfirm:a(b.OX.PASSWORD_AND_CONFIRM_PASSWORD_MUST_BE_THE_SAME)})),R.Z.createOrUpdateToast("newPasswordConfirm",a(b.OX.PASSWORD_AND_CONFIRM_PASSWORD_MUST_BE_THE_SAME)),t("NEW_PASSWORD_ERROR");return}if(!g&&!x){p(e=>({...e,saving:!0}));let a=i.parse(window.location.search);try{await c.hi.resetPasswordUsingPut({newPassword:d},{query:a}),p(e=>({...e,saving:!1})),n({redirectUrl:"/"})}catch(a){var e,r,s,o;(null==a?void 0:null===(r=a.response)||void 0===r?void 0:null===(e=r.data)||void 0===e?void 0:e.type)==="two_factor_code_required"?t("TWO_FACTOR",{twoFactorMode:"RESET_PASSWORD",newPassword:d}):(null==a?void 0:null===(o=a.response)||void 0===o?void 0:null===(s=o.data)||void 0===s?void 0:s.type)==="user_is_deleted_exception"?R.Z.openToast("This token is not valid! Your account was deleted!",{toastId:"resetPasswordDeleted",onClose:()=>{(0,O.T)(I.nc)}}):((0,S.OO)(a),R.Z.error("Something went wrong.",{toastId:"resetPasswordError"}))}p(e=>({...e,saving:!1}))}},[d,_,g,x]);return(0,o.jsxs)("div",{"data-clarity-mask":"True",children:[(0,o.jsx)(m,{title:"Enter new password"}),(0,o.jsxs)("div",{className:C().common,children:[(0,o.jsx)(h.Z,{ref:s,placeholder:"Password",eyeIcon:!0,disabled:f,classNameInput:y()(C().newPassMargin,T().input),incorrectPasswordClassName:T().inputErrorLabel,eyeIconClassName:T().inputEyeIcon,onChange:e=>{p(t=>({...t,password:e.target.value.trim(),errorTypePassword:"",errorTypePasswordConfirm:""}))},errorClassName:y()({[C().errorInput]:E,[C().outlineRed]:g}),value:d,errorText:g,tabIndex:1,dataQa:"password-input"}),(0,o.jsx)(h.Z,{placeholder:"Confirm password",eyeIcon:!0,disabled:f,classNameInput:y()(C().newPassMargin,T().input),incorrectPasswordClassName:T().inputErrorLabel,eyeIconClassName:T().inputEyeIcon,onChange:e=>{p(t=>({...t,confirmPassword:e.target.value.trim(),errorTypePassword:"",errorTypePasswordConfirm:""}))},errorClassName:y()({[C().errorInput]:E,[C().outlineRed]:x}),errorText:x,value:_,tabIndex:2,dataQa:"confirm-password-input"}),(0,o.jsx)(w,{type:"blue",btnText:"Continue",buttonClickHandler:M,icon:null,resetDefaultStyles:!0,tabIndex:3,dataQa:"continue-btn"})]})]})},H=r(120385),L=(0,l.memo)(e=>(0,o.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,o.jsx)("rect",{width:"48",height:"48",rx:"12",fill:"currentColor"}),(0,o.jsx)("path",{d:"M12 15H36V32C36 32.2652 35.8946 32.5196 35.7071 32.7071C35.5196 32.8946 35.2652 33 35 33H13C12.7348 33 12.4804 32.8946 12.2929 32.7071C12.1054 32.5196 12 32.2652 12 32V15Z",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,o.jsx)("path",{d:"M36 15L24 26L12 15",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})),k=r(638525),A=r.n(k),V=e=>{let{textNode:t,spanText:r,descriptionClickHandler:s,className:a,dataQa:n}=e;return(0,o.jsxs)("div",{className:y()(A().havent,a),...!_.BB&&n&&{"data-qa":n},children:[t,r?(0,o.jsx)("span",{className:A().inner,onClick:s,children:r}):null]})},P=e=>{let{setStep:t,options:r}=e,s=null==r?void 0:r.email,a=(0,l.useRef)(),n=(0,l.useCallback)(()=>{c.hi.resendingEmailConfirmationUsingGet({email:s}).then(()=>{t("LOGIN")})},[]),i=(0,l.useCallback)(()=>{t("LOGIN")},[]);return(0,l.useEffect)(()=>{var e;null===(e=a.current)||void 0===e||e.focus()},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m,{title:"Registration is incomplete"}),(0,o.jsxs)("div",{children:[(0,o.jsx)(V,{textNode:(0,o.jsx)("p",{children:"You have not confirmed the E-mailing address. A message has been sent to your mailbox to confirm your email address. To complete registration, follow the link provided in the email"})}),(0,o.jsx)(w,{type:"blue",btnText:"Back",icon:null,resetDefaultStyles:!0,buttonClickHandler:i,dataQa:"back-btn"}),(0,o.jsx)(w,{type:"gray",btnText:"Resend email",icon:null,resetDefaultStyles:!0,buttonClickHandler:n,dataQa:"resend-email-btn"})]})]})},Z=r(551408),B=r(780292),D=e=>{let{setStep:t,stepState:r}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m,{title:"Check your email"}),(0,o.jsxs)("div",{children:[(0,o.jsx)(V,{className:T().registerSuccessText,textNode:(0,o.jsxs)("p",{children:["Almost there! Weâve sent a message to"," ",(0,o.jsx)("span",{className:T().userEmail,children:r.options.email})," with a link to activate your account."]}),dataQa:"register-success"}),(0,o.jsxs)("div",{className:T().btnWrapper,children:[(0,o.jsxs)("a",{href:"https://mail.google.com/mail/u/0/",className:T().linkLogo,target:"_blank",rel:"noreferrer",children:[(0,o.jsx)(Z.Z,{}),"Open Gmail"]}),(0,o.jsxs)("a",{href:"https://outlook.live.com/mail/0/inbox",className:T().linkLogo,target:"_blank",rel:"noreferrer",children:[(0,o.jsx)(B.Z,{}),"Open Outlook"]})]}),(0,o.jsxs)("div",{className:T().description,children:["Didnât get an email? Check your spam folder!",(0,o.jsx)("br",{}),"or"," ",(0,o.jsx)("span",{className:T().back,onClick:()=>{c.hi.resendingEmailConfirmationUsingGet({email:r.options.email}).then(()=>{t("LOGIN")})},children:"click here to resend"})]})]})]})},W=e=>{let{setStep:t}=e,r=(0,l.useRef)();(0,l.useEffect)(()=>{var e;null===(e=r.current)||void 0===e||e.focus()},[]);let s=(0,l.useCallback)(async()=>{t("LOGIN")},[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m,{title:"Restore Password"}),(0,o.jsxs)("div",{children:[(0,o.jsx)(V,{textNode:(0,o.jsx)("p",{children:"If the user with this email is registered in the service, you will receive instructions for recovery will be sent to this email."}
1),dataQa:"restore-password"}),(0,o.jsx)(w,{type:"blue",btnText:"Back",icon:null,buttonClickHandler:s,resetDefaultStyles:!0,dataQa:"back-btn"})]})]})},U=r(102615),F=r.n(U),G=r(712506),X=r(367989),Q=r(237050),Y=r.n(Q),z=()=>(0,o.jsxs)("div",{className:Y().terms,children:["By signing up, you agree to xTiles's \xa0",(0,o.jsx)("a",{href:"https://xtiles.app/en/publicoffer",rel:"nofollow",children:"Public Offer"}),",",(0,o.jsx)("br",{}),(0,o.jsx)("a",{href:"https://xtiles.app/en/privacypolicy",rel:"nofollow",children:"Privacy Policy"}),"\xa0 and \xa0",(0,o.jsx)("a",{href:"https://xtiles.app/en/cookies",rel:"nofollow",children:"Cookies"}),"."]}),q=r(626968),$=e=>{let{setStep:t,onLoginStep:r}=e,[s,a]=(0,l.useState)(""),[n,u]=(0,l.useState)(!1),[C,p]=(0,l.useState)(!1),d=(0,l.useRef)(),[h,f]=(0,l.useState)(!1);(0,l.useEffect)(()=>{var e;null===(e=d.current)||void 0===e||e.focus()},[]);let g=(0,l.useCallback)(()=>{t("REGISTRATION")},[]),x=(0,l.useCallback)(async()=>{if(!s||h){R.Z.createOrUpdateToast("forgotPassword","Please enter your email address"),p(!0);return}u(!0);let e=i.parse(window.location.search);try{await c.hi.sendResetPasswordEmailUsingPut({email:s},{query:e}),u(!1),t("RESET_SUCCESS")}catch(e){(0,S.OO)(e)}u(!1)},[s,h]);return(0,o.jsxs)("div",{"data-clarity-mask":"True",children:[(0,o.jsx)(m,{title:"Restore Password"}),(0,o.jsx)(V,{spanText:"Sign up for free",textNode:(0,o.jsx)("p",{children:"Don't have an account?"}),descriptionClickHandler:g,dataQa:"sign-up-btn"}),(0,o.jsxs)("div",{className:F().common,children:[(0,o.jsx)(X.Z,{ref:d,value:s,placeholder:"Email",onChange:e=>{a(e.target.value.trim()),C&&p(!1)},disabled:n,onBlur:()=>{0!==s.length?(0,G.o)(s)?f(!1):f(!0):0===s.length&&f(!0)},inputClassName:F().forgotInput,tabIndex:1,dataQa:"email-input"}),(0,o.jsx)(w,{type:"blue",btnText:"Continue",buttonClickHandler:x,resetDefaultStyles:!0,icon:null,tabIndex:2,dataQa:"continue-btn"}),(0,o.jsx)("div",{className:F().back,onClick:r,...!_.BB&&{"data-qa":"back-to-login-btn"},children:"Back to log in?"})]}),(0,o.jsx)(z,{}),(0,o.jsx)(q.W,{containerClassName:F().reCaptchaContainer})]})},J=r(146670),K=r(763968),ee=r.n(K),et=r(168949),er=r(65436),es=r.n(er),ea=e=>{let{onClick:t,className:r,icon:s,disabled:a,children:n}=e;return(0,o.jsx)("button",{className:y()(es().button,r),onClick:t,disabled:a,children:(0,o.jsxs)("div",{className:es().authWrapper,children:[s,(0,o.jsx)("div",{className:es().text,children:n})]})})},en=r(30549),eo=r.n(en),el=(0,l.memo)(e=>(0,o.jsxs)("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,o.jsx)("path",{d:"M11.7781 0C11.8238 0 11.8695 0 11.9177 0C12.0298 1.38404 11.5015 2.41818 10.8595 3.16708C10.2295 3.9108 9.36684 4.63212 7.9716 4.52268C7.87853 3.15846 8.40767 2.20101 9.04884 1.45384C9.64348 0.757514 10.7336 0.137886 11.7781 0Z",fill:"white"}),(0,o.jsx)("path",{d:"M16 14.4056C16 14.4194 16 14.4314 16 14.4444C15.6079 15.6319 15.0486 16.6497 14.366 17.5942C13.743 18.4517 12.9794 19.6056 11.6161 19.6056C10.438 19.6056 9.6555 18.8481 8.44813 18.8274C7.17096 18.8068 6.4686 19.4609 5.30087 19.6255C5.1673 19.6255 5.03372 19.6255 4.90273 19.6255C4.04524 19.5014 3.35323 18.8223 2.84908 18.2104C1.36249 16.4024 0.213724 14.0669 0 11.0782C0 10.7852 0 10.4931 0 10.2001C0.090488 8.06109 1.12981 6.322 2.51126 5.47917C3.24033 5.03103 4.24259 4.64926 5.35861 4.8199C5.83691 4.89401 6.32554 5.05775 6.75385 5.21977C7.15975 5.37575 7.66735 5.65239 8.14823 5.63773C8.47398 5.62825 8.79802 5.45848 9.12636 5.33869C10.0881 4.99139 11.0309 4.59324 12.2736 4.78025C13.7671 5.00604 14.8271 5.66962 15.4821 6.69343C14.2187 7.49748 13.2199 8.70916 13.3905 10.7783C13.5422 12.6579 14.6349 13.7575 16 14.4056Z",fill:"white"})]}));function ei(){return(ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)({}
1).hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(null,arguments)}var ec=function(e){return l.createElement("svg",ei({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none"},e),l.createElement("g",{clipPath:"url(#IconsMicrosoftDS_svg__a)"},l.createElement("mask",{id:"IconsMicrosoftDS_svg__b",width:18,height:18,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"luminance"}},s||(s=l.createElement("path",{fill:"#fff",d:"M18 0H0v18h18z"}))),a||(a=l.createElement("g",{mask:"url(#IconsMicrosoftDS_svg__b)"},l.createElement("path",{fill:"#F25022",d:"M8.55 0H0v8.55h8.55z"}),l.createElement("path",{fill:"#7FBA00",d:"M18 0H9.45v8.55H18z"}),l.createElement("path",{fill:"#00A4EF",d:"M8.55 9.45H0V18h8.55z"}),l.createElement("path",{fill:"#FFB900",d:"M18 9.45H9.45V18H18z"})))),n||(n=l.createElement("defs",null,l.createElement("clipPath",{id:"IconsMicrosoftDS_svg__a"},l.createElement("path",{fill:"#fff",d:"M0 0h18v18H0z"})))))},eu=(0,l.memo)(e=>(0,o.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,o.jsxs)("g",{clipPath:"url(#clip0_10994_588467)",children:[(0,o.jsx)("path",{d:"M15.3957 6.6092L8.86944 6.60889C8.58125 6.60889 8.34766 6.84245 8.34766 7.13064V9.21548C8.34766 9.50361 8.58125 9.73723 8.8694 9.73723H12.5446C12.1421 10.7816 11.391 11.6563 10.4327 12.212L11.9998 14.9248C14.5136 13.471 15.9998 10.9201 15.9998 8.06451C15.9998 7.65792 15.9698 7.36726 15.9099 7.03998C15.8643 6.79132 15.6484 6.6092 15.3957 6.6092Z",fill:"#167EE6"}),(0,o.jsx)("path",{d:"M8.0001 12.8695C6.20153 12.8695 4.63141 11.8868 3.78813 10.4326L1.07544 11.9962C2.45591 14.3887 5.04197 15.9999 8.0001 15.9999C9.45125 15.9999 10.8205 15.6092 12.0001 14.9283V14.9246L10.433 12.2117C9.71619 12.6275 8.88669 12.8695 8.0001 12.8695Z",fill:"#12B347"}),(0,o.jsx)("path",{d:"M12 14.9284V14.9247L10.4329 12.2119C9.71609 12.6276 8.88666 12.8696 8 12.8696V16.0001C9.45116 16.0001 10.8205 15.6094 12 14.9284Z",fill:"#0F993E"}),(0,o.jsx)("path",{d:"M3.13044 8.00018C3.13044 7.11365 3.37238 6.28425 3.78803 5.56747L1.07534 4.00391C0.390687 5.17975 0 6.54531 0 8.00018C0 9.45505 0.390687 10.8206 1.07534 11.9965L3.78803 10.4329C3.37238 9.71611 3.13044 8.88671 3.13044 8.00018Z",fill:"#FFD500"}),(0,o.jsx)("path",{d:"M8.0001 3.13044C9.17294 3.13044 10.2503 3.54719 11.0917 4.24041C11.2993 4.41141 11.601 4.39906 11.7912 4.20891L13.2684 2.73172C13.4841 2.51597 13.4688 2.16281 13.2383 1.96288C11.8284 0.739781 9.99406 0 8.0001 0C5.04197 0 2.45591 1.61116 1.07544 4.00372L3.78813 5.56728C4.63141 4.11312 6.20153 3.13044 8.0001 3.13044Z",fill:"#FF4B26"}),(0,o.jsx)("path",{d:"M11.0916 4.24041C11.2992 4.41141 11.601 4.39906 11.7911 4.20891L13.2683 2.73172C13.484 2.51597 13.4686 2.16281 13.2382 1.96288C11.8284 0.73975 9.99397 0 8 0V3.13044C9.17282 3.13044 10.2502 3.54719 11.0916 4.24041Z",fill:"#D93F21"})]}),(0,o.jsx)("defs",{children:(0,o.jsx)("clipPath",{id:"clip0_10994_588467",children:(0,o.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]}));let eC=e=>{let{className:t,onClick:r}=e,{startSocialAuth:s}=(0,v.A)();return(0,o.jsx)(ea,{className:y()(t,eo().oAuthSocialButton,eo().oAuthGoogleButton),onClick:r||(e=>{e.preventDefault(),s("google")}),icon:(0,o.jsx)(eu,{className:eo().oAuthSocialButtonIcon,width:18,height:18}),children:(0,o.jsx)("svg",{width:"126",height:"10",viewBox:"0 0 126 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M5.29102 6.91504C5.29102 6.76465 5.26367 6.63021 5.20898 6.51172C5.15885 6.39323 5.06999 6.28613 4.94238 6.19043C4.81934 6.09017 4.64844 5.99674 4.42969 5.91016C4.21549 5.82357 3.94434 5.74154 3.61621 5.66406C3.14225 5.55013 2.72298 5.42253 2.3584 5.28125C1.99837 5.13542 1.69531 4.9668 1.44922 4.77539C1.20312 4.58398 1.01628 4.3584 0.888672 4.09863C0.765625 3.83887 0.704102 3.53581 0.704102 3.18945C0.704102 2.85677 0.777018 2.55371 0.922852 2.28027C1.06868 2.00228 1.27604 1.76302 1.54492 1.5625C1.8138 1.35742 2.13281 1.2002 2.50195 1.09082C2.87109 0.981445 3.27669 0.926758 3.71875 0.926758C4.36133 0.926758 4.9196 1.03158 5.39355 1.24121C5.86751 1.45085 6.23438 1.74023 6.49414 2.10938C6.75846 2.47396 6.89062 2.89779 6.89062 3.38086H5.24316C5.24316 3.15299 5.18392 2.94792 5.06543 2.76562C4.9515 2.58333 4.78288 2.4375 4.55957 2.32812C4.33626 2.21875 4.05599 2.16406 3.71875 2.16406C3.39518 2.16406 3.12858 2.21191 2.91895 2.30762C2.70931 2.39876 2.55208 2.51953 2.44727 2.66992C2.34701 2.81576 2.29688 2.97526 2.29688 3.14844C2.29688 3.28516 2.3265 3.4082 2.38574 3.51758C2.44954 3.62695 2.5498 3.72721 2.68652 3.81836C2.82324 3.90951 3.00098 3.99609 3.21973 4.07812C3.43848 4.16016 3.70508 4.23991 4.01953 4.31738C4.48893 4.42676 4.90365 4.55664 5.26367 4.70703C5.6237 4.85742 5.92448 5.03516 6.16602 5.24023C6.40755 5.44076 6.58757 5.67773 6.70605 5.95117C6.8291 6.22005 6.89062 6.52767 6.89062 6.87402C6.89062 7.22493 6.81771 7.53939 6.67188 7.81738C6.52604 8.09082 6.31641 8.32324 6.04297 8.51465C5.77409 8.70605 5.45052 8.85417 5.07227 8.95898C4.69401 9.05924 4.27246 9.10938 3.80762 9.10938C3.39746 9.10938 2.98958 9.05924 2.58398 8.95898C2.18294 8.85872 1.82064 8.70378 1.49707 8.49414C1.1735 8.28451 0.913737 8.0179 0.717773 7.69434C0.526367 7.36621 0.430664 6.98112 0.430664 6.53906H2.08496C2.08496 6.77604 2.12598 6.98112 2.20801 7.1543C2.2946 7.32292 2.41536 7.46191 2.57031 7.57129C2.72982 7.67611 2.91895 7.75358 3.1377 7.80371C3.35645 7.85384 3.59798 7.87891 3.8623 7.87891C4.19499 7.87891 4.46615 7.83561 4.67578 7.74902C4.88997 7.65788 5.04492 7.53939 5.14062 7.39355C5.24089 7.24772 5.29102 7.
108822 5.29102 6.91504ZM9.95312 1.03613V9H8.29883V1.03613H9.95312ZM18.3818 4.83008V8.00195C18.2497 8.15234 18.0492 8.31413 17.7803 8.4873C17.5114 8.66048 17.1605 8.80859 16.7275 8.93164C16.2946 9.05013 15.7637 9.10938 15.1348 9.10938C14.5879 9.10938 14.0889 9.02507 13.6377 8.85645C13.1911 8.68327 12.8037 8.43262 12.4756 8.10449C12.1475 7.77637 11.8945 7.37533 11.7168 6.90137C11.5436 6.42285 11.457 5.87826 11.457 5.26758V4.76855C11.457 4.15788 11.5413 3.61556 11.71 3.1416C11.8786 2.66309 12.1178 2.25977 12.4277 1.93164C12.7422 1.60352 13.1182 1.35514 13.5557 1.18652C13.9932 1.01335 14.4808 0.926758 15.0186 0.926758C15.7477 0.926758 16.347 1.04069 16.8164 1.26855C17.2904 1.49186 17.6527 1.80176 17.9033 2.19824C18.154 2.59473 18.3112 3.05046 18.375 3.56543H16.7686C16.723 3.29199 16.6364 3.05729 16.5088 2.86133C16.3812 2.66081 16.1989 2.50586 15.9619 2.39648C15.7295 2.28711 15.4287 2.23242 15.0596 2.23242C14.7497 2.23242 14.4717 2.28711 14.2256 2.39648C13.984 2.5013 13.779 2.66081 13.6104 2.875C13.4463 3.08919 13.321 3.35352 13.2344 3.66797C13.1523 3.97786 13.1113 4.34017 13.1113 4.75488V5.26758C13.1113 5.68229 13.1569 6.04915 13.248 6.36816C13.3438 6.68262 13.4805 6.94694 13.6582 7.16113C13.8405 7.37533 14.0615 7.53711 14.3213 7.64648C14.5856 7.7513 14.8864 7.80371 15.2236 7.80371C15.6748 7.80371 16.0143 7.75814 16.2422 7.66699C16.4701 7.57129 16.6318 7.48242 16.7275 7.40039V6.0127H15.0049V4.83008H18.3818ZM26.7217 1.03613V9H25.0674L21.4717 3.51074V9H19.8242V1.03613H21.4717L25.0674 6.52539V1.03613H26.7217ZM33.5781 1.03613V9H31.9238V1.
103613H33.5781ZM42.1982 1.03613V9H40.5439L36.9482 3.51074V9H35.3008V1.03613H36.9482L40.5439 6.52539V1.03613H42.1982ZM49.4033 7.63281L51.0576 1.03613H52.0078L52.0352 2.37598L50.2988 9H49.3145L49.4033 7.63281ZM48.3574 1.03613L49.7041 7.55762L49.7246 9H48.6855L46.751 1.03613H48.3574ZM53.8604 7.55078L55.2002 1.03613H56.7998L54.8721 9H53.8398L53.8604 7.55078ZM52.5137 1.03613L54.168 7.64648L54.2432 9H53.2656L51.5293 2.37598L51.5635 1.03613H52.5137ZM59.623 1.03613V9H57.9688V1.03613H59.623ZM65.0576 1.03613V9H63.4102V1.03613H65.0576ZM67.71 1.03613V2.34863H60.792V1.03613H67.71ZM74.4775 4.42676V5.73926H69.9658V4.42676H74.4775ZM70.4307 1.03613V9H68.7832V1.03613H70.4307ZM75.6807 1.03613V9H74.0332V1.03613H75.6807ZM87.4932 4.83008V8.00195C87.361 8.15234 87.1605 8.31413 86.8916 8.4873C86.6227 8.66048 86.2718 8.80859 85.8389 8.93164C85.4059 9.05013 84.875 9.10938 84.2461 9.10938C83.6992 9.10938 83.2002 9.02507 82.749 8.85645C82.3024 8.68327 81.915 8.43262 81.5869 8.10449C81.2588 7.77637 81.0059 7.37533 80.8281 6.90137C80.6549 6.42285 80.5684 5.87826 80.5684 5.26758V4.76855C80.5684 4.15788 80.6527 3.61556 80.8213 3.1416C80.9899 2.66309 81.2292 2.25977 81.5391 1.93164C81.8535 1.60352 82.2295 1.35514 82.667 1.18652C83.1045 1.01335 83.5921 0.926758 84.1299 0.926758C84.859 0.926758 85.4583 1.04069 85.9277 1.26855C86.4017 1.49186 86.764 1.80176 87.0146 2.19824C87.2653 2.59473 87.4225 3.05046 87.4863 3.56543H85.8799C85.8343 3.29199 85.7477 3.05729 85.6201 2.86133C85.4925 2.66081 85.3102 2.50586 85.0732 2.39648C84.8408 2.28711 84.54 2.23242 84.1709 2.23242C83.861 2.23242 83.583 2.28711 83.3369 2.39648C83.0954 2.5013 82.8903 2.66081 82.7217 2.875C82.5576 3.08919 82.4323 3.35352 82.3457 3.66797C82.2637 3.97786 82.2227 4.34017 82.2227 4.75488V5.26758C82.2227 5.68229 82.2682 6.04915 82.3594 6.36816C82.4551 6.68262 82.5918 6.94694 82.7695 7.16113C82.9518 7.37533 83.1729 7.53711 83.4326 7.64648C83.6969 7.7513 83.9977 7.80371 84.335 7.80371C84.7861 7.80371 85.1257 7.75814 85.3535 7.66699C85.5814 7.57129 85.7432 7.48242 85.8389 7.40039V6.0127H84.1162V4.83008H87.4932ZM95.8809 4.83008V5.21289C95.8809 5.81901 95.7943 6.36133 95.6211 6.83984C95.4479 7.31836 95.2018 7.72852 94.8828 8.07031C94.5684 8.40755 94.1901 8.66504 93.748 8.84277C93.306 9.02051 92.8184 9.10938 92.2852 9.10938C91.752 9.10938 91.2643 9.02051 90.8223 8.84277C90.3802 8.66504 89.9974 8.40755 89.6738 8.07031C89.3503 7.72852 89.0996 7.31836 88.9219 6.83984C88.7487 6.36133 88.6621 5.81901 88.6621 5.21289V4.83008C88.6621 4.22396 88.7487 3.68164 88.9219 3.20312C89.0996 2.72461 89.348 2.31445 89.667 1.97266C89.986 1.63086 90.3665 1.37109 90.8086 1.19336C91.2507 1.01562 91.7383 0.926758 92.2715 0.926758C92.8092 0.926758 93.2969 1.01562 93.7344 1.19336C94.1764 1.37109 94.557 1.63086 94.876 1.97266C95.1995 2.31445 95.4479 2.72461 95.6211 3.20312C95.7943 3.68164 95.8809 4.22396 95.8809 4.83008ZM94.2334 5.21289V4.81641C94.2334 4.40169 94.1901 4.03483 94.1035 3.71582C94.0169 3.39681 93.887 3.12793 93.7139 2.90918C93.5452 2.69043 93.3402 2.52409 93.0986 2.41016C92.8571 2.29622 92.5814 2.23926 92.2715 2.23926C91.9661 2.23926 91.6904 2.29622 91.4443 2.41016C91.2028 2.52409 90.9977 2.69043 90.8291 2.90918C90.665 3.12793 90.5374 3.39681 90.4463 3.71582C90.3597 4.03483 90.3164 4.40169 90.3164 4.81641V5.21289C90.3164 5.62305 90.3597 5.98991 90.4463 6.31348C90.5374 6.63249 90.6673 6.90365 90.8359 7.12695C91.0091 7.3457 91.2165 7.51432 91.458 7.63281C91.7041 7.74674 91.9798 7.80371 92.2852 7.80371C92.5951 7.80371 92.8685 7.74674 93.1055 7.63281C93.347 7.51432 93.5521 7.3457 93.7207 7.12695C93.8893 6.90365 94.0169 6.63249 94.1035 6.31348C94.1901 5.98991 94.2334 5.62305 94.2334 5.21289ZM104.18 4.83008V5.21289C104.18 5.81901 104.093 6.36133 103.92 6.83984C103.747 7.31836 103.501 7.72852 103.182 8.07031C102.867 8.40755 102.489 8.66504 102.047 8.84277C101.605 9.02051 101.117 9.10938 100.584 9.10938C100.051 9.10938 99.5632 9.02051 99.1211 8.84277C98.679 8.66504 98.2962 8.40755 97.9727 8.07031C97.6491 7.72852 97.3984 7.31836 97.2207 6.83984C97.0475 6.36133 96.9609 5.81901 96.9609 5.21289V4.83008C96.9609 4.22396 97.0475 3.68164 97.2207 3.20312C97.3984 2.72461 97.6468 2.31445 97.9658 1.97266C98.2848 1.63086 98.6654 1.37109 99.1074 1.19336C99.5495 1.01562 100.037 0.926758 100.57 0.926758C101.108 0.926758 101.596 1.01562 102.033 1.19336C102.475 1.37109 102.856 1.63086 103.175 1.97266C103.498 2.31445 103.747 2.72461 103.92 3.20312C104.093 3.68164 104.18 4.22396 104.18 4.83008ZM102.532 5.21289V4.81641C102.532 4.40169 102.489 4.03483 102.402 3.71582C102.316 3.39681 102.186 3.12793 102.013 2.90918C101.844 2.69043 101.639 2.52409 101.397 2.41016C101.156 2.29622 100.88 2.23926 100.57 2.23926C100.265 2.23926 99.9893 2.29622 99.7432 2.41016C99.5016 2.52409 99.2965 2.69043 99.1279 2.90918C98.9639 3.12793 98.8363 3.39681 98.7451 3.71582C98.6585 4.03483 98.6152 4.40169 98.6152 4.81641V5.21289C98.6152 5.62305 98.6585 5.98991 98.7451 6.31348C98.8363 6.63249 98.9661 6.90365 99.1348 7.12695C99.3079 7.3457 99.5153 7.51432 99.7568 7.63281C100.003 7.74674 100.279 7.80371 100.584 7.80371C100.894 7.80371 101.167 7.74674 101.404 7.63281C101.646 7.51432 101.851 7.3457 102.02 7.12695C102.188 6.90365 102.316 6.63249 102.402 6.31348C102.489 5.98991 102.532 5.62305 102.532 5.21289ZM112.239 4.83008V8.00195C112.107 8.15234 111.907 8.31413 111.638 8.4873C111.369 8.66048 111.018 8.80859 110.585 8.93164C110.152 9.05013 109.621 9.10938 108.992 9.10938C108.445 9.10938 107.946 9.02507 107.495 8.85645C107.049 8.68327 106.661 8.43262 106.333 8.10449C106.005 7.77637 105.752 7.37533 105.574 6.90137C105.401 6.42285 105.314 5.87826 105.314 5.26758V4.76855C105.314 4.15788 105.399 3.61556 105.567 3.1416C105.736 2.66309 105.975 2.25977 106.285 1.93164C106.6 1.60352 106.976 1.35514 107.413 1.18652C107.851 1.01335 108.338 0.926758 108.876 0.926758C109.605 0.926758 110.204 1.04069 110.674 1.26855C111.148 1.49186 111.51 1.80176 111.761 2.19824C112.011 2.59473 112.169 3.05046 112.232 3.56543H110.626C110.58 3.29199 110.494 3.05729 110.366 2.86133C110.239 2.66081 110.056 2.50586 109.819 2.39648C109.587 2.28711 109.286 2.23242 108.917 2.23242C108.607 2.23242 108.329 2.28711 108.083 2.39648C107.841 2.5013 107.636 2.66081 107.468 2.875C107.304 3.08919 107.178 3.35352 107.092 3.66797C107.01 3.97786 106.969 4.34017 106.969 4.7
15488V5.26758C106.969 5.68229 107.014 6.04915 107.105 6.36816C107.201 6.68262 107.338 6.94694 107.516 7.16113C107.698 7.37533 107.919 7.53711 108.179 7.64648C108.443 7.7513 108.744 7.80371 109.081 7.80371C109.532 7.80371 109.872 7.75814 110.1 7.66699C110.327 7.57129 110.489 7.48242 110.585 7.40039V6.0127H108.862V4.83008H112.239ZM119.123 7.69434V9H114.81V7.69434H119.123ZM115.329 1.03613V9H113.682V1.03613H115.329ZM125.877 7.69434V9H121.317V7.69434H125.877ZM121.837 1.03613V9H120.189V1.03613H121.837ZM125.289 4.22852V5.53418H121.317V4.22852H125.289ZM125.863 1.03613V2.34863H121.317V1.03613H125.863Z",fill:"black",fillOpacity:"0.54"})})})},ep=e=>{let{className:t,onClick:r}=e,{startSocialAuth:s}=(0,v.A)();return(0,o.jsx)(ea,{className:y()(t,eo().oAuthSocialButton,eo().oAuthAppleButton),onClick:r||(e=>{e.preventDefault(),s("apple")}),icon:(0,o.jsx)(el,{className:eo().oAuthSocialButtonIcon}),children:(0,o.jsx)("svg",{width:"129",height:"15",viewBox:"0 0 129 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M4.784 11.192C2.94933 11.192 1.504 10.6267 0.448 9.496L1.488 8.056C2.40533 9.03733 3.53067 9.528 4.864 9.528C5.57867 9.528 6.112 9.384 6.464 9.096C6.82667 8.808 7.008 8.46667 7.008 8.072C7.008 7.66667 6.79467 7.34667 6.368 7.112C5.94133 6.86667 5.424 6.67467 4.816 6.536C4.208 6.39733 3.59467 6.232 2.976 6.04C2.368 5.848 1.85067 5.52267 1.424 5.064C0.997333 4.60533 0.784 4.01333 0.784 3.288C0.784 2.392 1.14133 1.65067 1.856 1.064C2.58133 0.466666 3.52 0.167999 4.672 0.167999C6.31467 0.167999 7.648 0.663999 8.672 1.656L7.6 3.048C6.78933 2.23733 5.76 1.832 4.512 1.832C3.95733 1.832 3.51467 1.95467 3.184 2.2C2.864 2.43467 2.704 2.75467 2.704 3.16C2.704 3.42667 2.816 3.65067 3.04 3.832C3.27467 4.01333 3.57333 4.16267 3.936 4.28C4.29867 4.38667 4.69867 4.49333 5.136 4.6C5.584 4.70667 6.02667 4.84 6.464 5C6.912 5.14933 7.31733 5.336 7.68 5.56C8.04267 5.784 8.336 6.09333 8.56 6.488C8.79467 6.88267 8.912 7.352 8.912 7.896C8.912 8.856 8.56533 9.64533 7.872 10.264C7.17867 10.8827 6.14933 11.192 4.784 11.192ZM11.42 2.328C11.1427 2.328 10.8973 2.22667 10.684 2.024C10.4813 1.82133 10.38 1.576 10.38 1.288C10.38 1 10.4813 0.754666 10.684 0.551999C10.8973 0.349332 11.1427 0.247999 11.42 0.247999C11.708 0.247999 11.9533 0.349332 12.156 0.551999C12.3587 0.754666 12.46 1 12.46 1.288C12.46 1.576 12.3587 1.82133 12.156 2.024C11.9533 2.22667 11.708 2.328 11.42 2.328ZM12.268 11H10.588V3.272H12.268V11ZM17.5834 14.136C16.2714 14.136 15.194 13.752 14.3514 12.984L15.1354 11.768C15.7114 12.4293 16.5274 12.76 17.5834 12.76C18.2234 12.76 18.762 12.5893 19.1994 12.248C19.6474 11.9173 19.8714 11.3893 19.8714 10.664V9.736C19.21 10.5893 18.3834 11.016 17.3914 11.016C16.378 11.016 15.5514 10.664 14.9114 9.96C14.282 9.256 13.9674 8.28533 13.9674 7.048C13.9674 5.82133 14.282 4.856 14.9114 4.152C15.5514 3.43733 16.378 3.08 17.3914 3.08C18.4047 3.08 19.2314 3.50133 19.8714 4.344V3.272H21.5514V10.6C21.5514 11.2613 21.434 11.832 21.1994 12.312C20.9754 12.8027 20.666 13.1707 20.2714 13.416C19.8767 13.672 19.4554 13.8533 19.0074 13.96C18.57 14.0773 18.0954 14.136 17.5834 14.136ZM17.8874 9.528C18.2714 9.528 18.65 9.42667 19.0234 9.224C19.3967 9.02133 19.6794 8.776 19.8714 8.488V5.608C19.6794 5.32 19.3967 5.07467 19.0234 4.872C18.65 4.66933 18.2714 4.568 17.8874 4.568C17.226 4.568 16.698 4.79733 16.3034 5.256C15.9087 5.704 15.7114 6.30133 15.7114 7.048C15.7114 7.79467 15.9087 8.39733 16.3034 8.856C16.698 9.304 17.226 9.528 17.8874 9.528ZM30.6246 11H28.9446V6.168C28.9446 5.10133 28.4273 4.568 27.3926 4.568C26.9873 4.568 26.6086 4.66933 26.2566 4.872C25.9046 5.07467 25.622 5.32 25.4086 5.608V11H23.7286V3.272H25.4086V4.328C25.6966 3.98667 26.0806 3.69333 26.5606 3.448C27.0406 3.20267 27.5633 3.08 28.1286 3.08C28.95 3.08 29.5686 3.29333 29.9846 3.72C30.4113 4.14667 30.6246 4.76 30.6246 5.56V11ZM37.7481 2.328C37.4708 2.328 37.2255 2.22667 37.0121 2.024C36.8095 1.82133 36.7081 1.576 36.7081 1.288C36.7081 1 36.8095 0.754666 37.0121 0.551999C37.2255 0.349332 37.4708 0.247999 37.7481 0.247999C38.0361 0.247999 38.2815 0.349332 38.4841 0.551999C38.6868 0.754666 38.7881 1 38.7881 1.288C38.7881 1.576 38.6868 1.82133 38.4841 2.024C38.2815 2.22667 38.0361 2.328 37.7481 2.328ZM38.5961 11H36.9161V3.272H38.5961V11ZM47.6715 11H45.9915V6.168C45.9915 5.10133 45.4742 4.568 44.4395 4.568C44.0342 4.568 43.6555 4.66933 43.3035 4.872C42.9515 5.07467 42.6688 5.32 42.4555 5.608V11H40.7755V3.272H42.4555V4.328C42.7435 3.98667 43.1275 3.69333 43.6075 3.448C44.0875 3.20267 44.6102 3.08 45.1755 3.08C45.9968 3.08 46.6155 3.29333 47.0315 3.72C47.4582 4.14667 47.6715 4.76 47.6715 5.56V11ZM62.459 11H60.699L58.907 5.336L57.115 11H55.355L52.955 3.272H54.699L56.331 8.888L58.171 3.272H59.643L61.483 8.888L63.115 3.272H64.859L62.459 11ZM66.8575 2.328C66.5802 2.328 66.3348 2.22667 66.1215 2.024C65.9188 1.82133 65.8175 1.576 65.8175 1.288C65.8175 1 65.9188 0.754666 66.
11215 0.551999C66.3348 0.349332 66.5802 0.247999 66.8575 0.247999C67.1455 0.247999 67.3908 0.349332 67.5935 0.551999C67.7962 0.754666 67.8975 1 67.8975 1.288C67.8975 1.576 67.7962 1.82133 67.5935 2.024C67.3908 2.22667 67.1455 2.328 66.8575 2.328ZM67.7055 11H66.0255V3.272H67.7055V11ZM72.2049 11.192C71.5542 11.192 71.0582 11.0213 70.7169 10.68C70.3862 10.3387 70.2209 9.848 70.2209 9.208V4.744H68.9409V3.272H70.2209V1.16H71.9009V3.272H73.4689V4.744H71.9009V8.792C71.9009 9.06933 71.9649 9.29333 72.0929 9.464C72.2209 9.624 72.4022 9.704 72.6369 9.704C72.9782 9.704 73.2289 9.61333 73.3889 9.432L73.7889 10.696C73.4369 11.0267 72.9089 11.192 72.2049 11.192ZM81.9062 11H80.2263V6.136C80.2263 5.57067 80.0876 5.17067 79.8103 4.936C79.5436 4.69067 79.1596 4.568 78.6583 4.568C78.2636 4.568 77.8903 4.66933 77.5383 4.872C77.1863 5.07467 76.8983 5.32 76.6743 5.608V11H74.9943V0.327999H76.6743V4.328C76.9623 3.98667 77.3463 3.69333 77.8263 3.448C78.3169 3.20267 78.8449 3.08 79.4103 3.08C81.0743 3.08 81.9062 3.896 81.9062 5.528V11ZM97.8454 11H95.7174L94.9334 8.952H90.0374L89.2534 11H87.1254L91.3174 0.327999H93.6534L97.8454 11ZM94.4054 7.304L92.4854 2.216L90.5654 7.304H94.4054ZM103.123 11.192C102.099 11.192 101.272 10.7707 100.643 9.928V13.944H98.963V3.272H100.643V4.328C101.262 3.496 102.088 3.08 103.123 3.08C104.136 3.08 104.958 3.44267 105.587 4.168C106.227 4.89333 106.547 5.88 106.547 7.128C106.547 8.376 106.227 9.368 105.587 10.104C104.958 10.8293 104.136 11.192 103.123 11.192ZM102.627 9.704C103.288 9.704 103.816 9.464 104.211 8.984C104.606 8.504 104.803 7.88533 104.803 7.128C104.803 6.37067 104.606 5.75733 104.211 5.288C103.816 4.808 103.288 4.568 102.627 4.568C102.243 4.568 101.864 4.66933 101.491 4.872C101.118 5.07467 100.835 5.32 100.643 5.608V8.664C100.835 8.952 101.118 9.19733 101.491 9.4C101.864 9.60267 102.243 9.704 102.627 9.704ZM112.373 11.192C111.349 11.192 110.522 10.7707 109.893 9.928V13.944H108.213V3.272H109.893V4.328C110.512 3.496 111.338 3.08 112.373 3.08C113.386 3.08 114.208 3.44267 114.837 4.168C115.477 4.89333 115.797 5.88 115.797 7.128C115.797 8.376 115.477 9.368 114.837 10.104C114.208 10.8293 113.386 11.192 112.373 11.192ZM111.877 9.704C112.538 9.704 113.066 9.464 113.461 8.984C113.856 8.504 114.053 7.88533 114.053 7.128C114.053 6.37067 113.856 5.75733 113.461 5.288C113.066 4.808 112.538 4.568 111.877 4.568C111.493 4.568 111.114 4.66933 110.741 4.872C110.368 5.07467 110.085 5.32 109.893 5.608V8.664C110.085 8.952 110.368 9.19733 110.741 9.4C111.114 9.60267 111.493 9.704 111.877 9.704ZM119.143 11H117.463V0.327999H119.143V11ZM124.89 11.192C123.717 11.192 122.746 10.8187 121.978 10.072C121.221 9.31467 120.842 8.33333 120.842 7.128C120.842 5.99733 121.21 5.04267 121.946 4.264C122.693 3.47467 123.632 3.08 124.762 3.08C125.904 3.08 126.821 3.47467 127.514 4.264C128.218 5.05333 128.57 6.06133 128.57 7.288V7.688H122.602C122.666 8.296 122.917 8.80267 123.354 9.208C123.792 9.61333 124.362 9.816 125.066 9.816C125.461 9.816 125.856 9.74133 126.25 9.592C126.656 9.44267 126.992 9.23467 127.258 8.968L128.026 10.072C127.248 10.8187 126.202 11.192 124.89 11.192ZM126.938 6.504C126.917 5.97067 126.72 5.496 126.346 5.08C125.984 4.664 125.456 4.456 124.762 4.456C124.101 4.456 123.584 4.664 123.21 5.08C122.837 5.48533 122.629 5.96 122.586 6.504H126.938Z",fill:"white"})})})},ed=e=>{let{className:t,onClick:r}=e,{startSocialAuth:s}=(0,v.A)();return(0,o.jsx)(ea,{className:y()(t,eo().oAuthSocialButton,eo().oAuthMicrosoftButton),onClick:r||(e=>{e.preventDefault(),s("microsoft")}),icon:(0,o.jsx)(ec,{className:eo().oAuthSocialButtonIcon}),children:(0,o.jsx)("svg",{width:"148",height:"10",viewBox:"0 0 148 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{d:"M5.29102 6.91504C5.29102 6.76465 5.26367 6.63021 5.20898 6.51172C5.15885 6.39323 5.06999 6.28613 4.94238 6.19043C4.81934 6.09017 4.64844 5.99674 4.42969 5.91016C4.21549 5.82357 3.94434 5.74154 3.61621 5.66406C3.14225 5.55013 2.72298 5.42253 2.3584 5.28125C1.99837 5.13542 1.69531 4.9668 1.44922 4.77539C1.20312 4.58398 1.01628 4.3584 0.888672 4.09863C0.765625 3.83887 0.704102 3.53581 0.704102 3.18945C0.704102 2.85677 0.777018 2.55371 0.922852 2.28027C1.06868 2.00228 1.27604 1.76302 1.54492 1.5625C1.8138 1.35742 2.13281 1.2002 2.50195 1.09082C2.87109 0.981445 3.27669 0.926758 3.71875 0.926758C4.36133 0.926758 4.9196 1.03158 5.39355 1.24121C5.86751 1.45085 6.23438 1.74023 6.49414 2.10938C6.75846 2.47396 6.89062 2.89779 6.89062 3.38086H5.24316C5.24316 3.15299 5.18392 2.94792 5.06543 2.76562C4.9515 2.58333 4.78288 2.4375 4.55957 2.32812C4.33626 2.21875 4.05599 2.16406 3.71875 2.16406C3.39518 2.16406 3.12858 2.21191 2.91895 2.30762C2.70931 2.39876 2.55208 2.51953 2.44727 2.66992C2.34701 2.81576 2.29688 2.97526 2.29688 3.14844C2.29688 3.28516 2.3265 3.4082 2.38574 3.51758C2.44954 3.62695 2.5498 3.72721 2.68652 3.81836C2.82324 3.90951 3.00098 3.99609 3.21973 4.07812C3.43848 4.16016 3.70508 4.23991 4.01953 4.31738C4.48893 4.42676 4.90365 4.55664 5.26367 4.70703C5.6237 4.85742 5.92448 5.03516 6.16602 5.24023C6.40755 5.44076 6.58757 5.67773 6.70605 5.95117C6.8291 6.22005 6.89062 6.52767 6.89062 6.87402C6.89062 7.22493 6.81771 7.53939 6.67188 7.81738C6.52604 8.09082 6.31641 8.32324 6.04297 8.51465C5.77409 8.70605 5.45052 8.85417 5.07227 8.95898C4.69401 9.05924 4.27246 9.10938 3.80762 9.10938C3.39746 9.10938 2.98958 9.05924 2.58398 8.95898C2.18294 8.85872 1.82064 8.70378 1.49707 8.49414C1.1735 8.28451 0.913737 8.0179 0.717773 7.69434C0.526367 7.36621 0.430664 6.98112 0.430664 6.53906H2.08496C2.08496 6.77604 2.12598 6.98112 2.20801 7.1543C2.2946 7.32292 2.41536 7.46191 2.57031 7.57129C2.72982 7.67611 2.91895 7.75358 3.1377 7.80371C3.35645 7.85384 3.59798 7.87891 3.8623 7.87891C4.19499 7.87891 4.46615 7.83561 4.67578 7.74902C4.88997 7.65788 5.04492 7.53939 5.14062 7.39355C5.24089 7.24772 5.29102 7.
108822 5.29102 6.91504ZM9.95312 1.03613V9H8.29883V1.03613H9.95312ZM18.3818 4.83008V8.00195C18.2497 8.15234 18.0492 8.31413 17.7803 8.4873C17.5114 8.66048 17.1605 8.80859 16.7275 8.93164C16.2946 9.05013 15.7637 9.10938 15.1348 9.10938C14.5879 9.10938 14.0889 9.02507 13.6377 8.85645C13.1911 8.68327 12.8037 8.43262 12.4756 8.10449C12.1475 7.77637 11.8945 7.37533 11.7168 6.90137C11.5436 6.42285 11.457 5.87826 11.457 5.26758V4.76855C11.457 4.15788 11.5413 3.61556 11.71 3.1416C11.8786 2.66309 12.1178 2.25977 12.4277 1.93164C12.7422 1.60352 13.1182 1.35514 13.5557 1.18652C13.9932 1.01335 14.4808 0.926758 15.0186 0.926758C15.7477 0.926758 16.347 1.04069 16.8164 1.26855C17.2904 1.49186 17.6527 1.80176 17.9033 2.19824C18.154 2.59473 18.3112 3.05046 18.375 3.56543H16.7686C16.723 3.29199 16.6364 3.05729 16.5088 2.86133C16.3812 2.66081 16.1989 2.50586 15.9619 2.39648C15.7295 2.28711 15.4287 2.23242 15.0596 2.23242C14.7497 2.23242 14.4717 2.28711 14.2256 2.39648C13.984 2.5013 13.779 2.66081 13.6104 2.875C13.4463 3.08919 13.321 3.35352 13.2344 3.66797C13.1523 3.97786 13.1113 4.34017 13.1113 4.75488V5.26758C13.1113 5.68229 13.1569 6.04915 13.248 6.36816C13.3438 6.68262 13.4805 6.94694 13.6582 7.16113C13.8405 7.37533 14.0615 7.53711 14.3213 7.64648C14.5856 7.7513 14.8864 7.80371 15.2236 7.80371C15.6748 7.80371 16.0143 7.75814 16.2422 7.66699C16.4701 7.57129 16.6318 7.48242 16.7275 7.40039V6.0127H15.0049V4.83008H18.3818ZM26.7217 1.03613V9H25.0674L21.4717 3.51074V9H19.8242V1.03613H21.4717L25.0674 6.52539V1.03613H26.7217ZM33.5781 1.03613V9H31.9238V1.
103613H33.5781ZM42.1982 1.03613V9H40.5439L36.9482 3.51074V9H35.3008V1.03613H36.9482L40.5439 6.52539V1.03613H42.1982ZM49.4033 7.63281L51.0576 1.03613H52.0078L52.0352 2.37598L50.2988 9H49.3145L49.4033 7.63281ZM48.3574 1.03613L49.7041 7.55762L49.7246 9H48.6855L46.751 1.03613H48.3574ZM53.8604 7.55078L55.2002 1.03613H56.7998L54.8721 9H53.8398L53.8604 7.55078ZM52.5137 1.03613L54.168 7.64648L54.2432 9H53.2656L51.5293 2.37598L51.5635 1.03613H52.5137ZM59.623 1.03613V9H57.9688V1.03613H59.623ZM65.0576 1.03613V9H63.4102V1.03613H65.0576ZM67.71 1.03613V2.34863H60.792V1.03613H67.71ZM74.4775 4.42676V5.73926H69.9658V4.42676H74.4775ZM70.4307 1.03613V9H68.7832V1.03613H70.4307ZM75.6807 1.03613V9H74.0332V1.03613H75.6807ZM81.5186 1.03613H82.9404L85.2441 6.83984L87.541 1.03613H88.9629L85.8047 9H84.6768L81.5186 1.03613ZM80.7871 1.03613H82.1816L82.4346 6.8125V9H80.7871V1.03613ZM88.3066 1.03613H89.708V9H88.0605V6.8125L88.3066 1.03613ZM93.0918 1.03613V9H91.4375V1.03613H93.0918ZM99.8047 6.34766H101.459C101.418 6.88997 101.258 7.36849 100.98 7.7832C100.707 8.19792 100.324 8.52376 99.832 8.76074C99.3398 8.99316 98.7451 9.10938 98.0479 9.10938C97.5055 9.10938 97.0179 9.02051 96.585 8.84277C96.1566 8.66504 95.7897 8.41211 95.4844 8.08398C95.1836 7.7513 94.9512 7.35026 94.7871 6.88086C94.6276 6.4069 94.5479 5.87598 94.5479 5.28809V4.75488C94.5479 4.16699 94.6299 3.63835 94.7939 3.16895C94.958 2.69499 95.195 2.29167 95.5049 1.95898C95.8148 1.62174 96.1839 1.36654 96.6123 1.19336C97.0452 1.01562 97.5306 0.926758 98.0684 0.926758C98.7747 0.926758 99.3695 1.04753 99.8525 1.28906C100.336 1.52604 100.712 1.85645 100.98 2.28027C101.249 2.7041 101.411 3.18945 101.466 3.73633H99.8184C99.791 3.4401 99.7158 3.18034 99.5928 2.95703C99.4697 2.72917 99.2852 2.55143 99.0391 2.42383C98.793 2.29622 98.4694 2.23242 98.0684 2.23242C97.7585 2.23242 97.4873 2.28711 97.2549 2.39648C97.0225 2.5013 96.8265 2.66081 96.667 2.875C96.512 3.08919 96.3936 3.35352 96.3115 3.66797C96.234 3.97786 96.1953 4.33789 96.1953 4.74805V5.28809C96.1953 5.68913 96.2295 6.04688 96.2979 6.36133C96.3708 6.67122 96.4824 6.93327 96.6328 7.14746C96.7832 7.36165 96.9746 7.52572 97.207 7.63965C97.444 7.74902 97.7243 7.80371 98.0479 7.80371C98.4352 7.80371 98.752 7.7513 98.998 7.64648C99.2441 7.53711 99.4333 7.37305 99.5654 7.1543C99.6976 6.93555 99.7773 6.66667 99.8047 6.34766ZM102.683 1.03613H105.82C106.308 1.03613 106.745 1.08854 107.133 1.19336C107.52 1.29818 107.848 1.45312 108.117 1.6582C108.391 1.85872 108.598 2.10938 108.739 2.41016C108.885 2.70638 108.958 3.05046 108.958 3.44238C108.958 3.87533 108.881 4.24674 108.726 4.55664C108.571 4.86198 108.352 5.11491 108.069 5.31543C107.787 5.51595 107.454 5.67773 107.071 5.80078L106.545 6.08789H103.776L103.763 4.77539H105.841C106.169 4.77539 106.44 4.72526 106.654 4.625C106.868 4.52474 107.03 4.38574 107.14 4.20801C107.249 4.02572 107.304 3.81608 107.304 3.5791C107.304 3.32845 107.249 3.11198 107.14 2.92969C107.035 2.74284 106.871 2.59928 106.647 2.49902C106.429 2.39876 106.153 2.34863 105.82 2.34863H104.337V9H102.683V1.03613ZM107.509 9L105.54 5.47266L107.283 5.45898L109.286 8.9248V9H107.509ZM117.318 4.83008V5.21289C117.318 5.81901 117.232 6.36133 117.059 6.83984C116.885 7.31836 116.639 7.72852 116.32 8.07031C116.006 8.40755 115.628 8.66504 115.186 8.84277C114.743 9.02051 114.256 9.10938 113.723 9.10938C113.189 9.10938 112.702 9.02051 112.26 8.84277C111.818 8.66504 111.435 8.40755 111.111 8.07031C110.788 7.72852 110.537 7.31836 110.359 6.83984C110.186 6.36133 110.1 5.81901 110.1 5.21289V4.83008C110.1 4.22396 110.186 3.68164 110.359 3.20312C110.537 2.72461 110.785 2.31445 111.104 1.97266C111.424 1.63086 111.804 1.37109 112.246 1.19336C112.688 1.01562 113.176 0.926758 113.709 0.926758C114.247 0.926758 114.734 1.01562 115.172 1.19336C115.614 1.37109 115.994 1.63086 116.313 1.97266C116.637 2.31445 116.885 2.72461 117.059 3.20312C117.232 3.68164 117.318 4.22396 117.318 4.83008ZM115.671 5.21289V4.81641C115.671 4.40169 115.628 4.03483 115.541 3.71582C115.454 3.39681 115.325 3.12793 115.151 2.90918C114.983 2.69043 114.778 2.52409 114.536 2.41016C114.295 2.29622 114.019 2.23926 113.709 2.23926C113.404 2.23926 113.128 2.29622 112.882 2.41016C112.64 2.52409 112.435 2.69043 112.267 2.90918C112.103 3.12793 111.975 3.39681 111.884 3.71582C111.797 4.03483 111.754 4.40169 111.754 4.81641V5.21289C111.754 5.62305 111.797 5.98991 111.884
16.31348C111.975 6.63249 112.105 6.90365 112.273 7.12695C112.447 7.3457 112.654 7.51432 112.896 7.63281C113.142 7.74674 113.417 7.80371 113.723 7.80371C114.033 7.80371 114.306 7.74674 114.543 7.63281C114.785 7.51432 114.99 7.3457 115.158 7.12695C115.327 6.90365 115.454 6.63249 115.541 6.31348C115.628 5.98991 115.671 5.62305 115.671 5.21289ZM123.156 6.91504C123.156 6.76465 123.129 6.63021 123.074 6.51172C123.024 6.39323 122.935 6.28613 122.808 6.19043C122.685 6.09017 122.514 5.99674 122.295 5.91016C122.081 5.82357 121.81 5.74154 121.481 5.66406C121.007 5.55013 120.588 5.42253 120.224 5.28125C119.864 5.13542 119.561 4.9668 119.314 4.77539C119.068 4.58398 118.882 4.3584 118.754 4.09863C118.631 3.83887 118.569 3.53581 118.569 3.18945C118.569 2.85677 118.642 2.55371 118.788 2.28027C118.934 2.00228 119.141 1.76302 119.41 1.5625C119.679 1.35742 119.998 1.2002 120.367 1.09082C120.736 0.981445 121.142 0.926758 121.584 0.926758C122.227 0.926758 122.785 1.03158 123.259 1.24121C123.733 1.45085 124.1 1.74023 124.359 2.10938C124.624 2.47396 124.756 2.89779 124.756 3.38086H123.108C123.108 3.15299 123.049 2.94792 122.931 2.76562C122.817 2.58333 122.648 2.4375 122.425 2.32812C122.201 2.21875 121.921 2.16406 121.584 2.16406C121.26 2.16406 120.994 2.21191 120.784 2.30762C120.575 2.39876 120.417 2.51953 120.312 2.66992C120.212 2.81576 120.162 2.97526 120.162 3.14844C120.162 3.28516 120.192 3.4082 120.251 3.51758C120.315 3.62695 120.415 3.72721 120.552 3.81836C120.688 3.90951 120.866 3.99609 121.085 4.07812C121.304 4.16016 121.57 4.23991 121.885 4.31738C122.354 4.42676 122.769 4.55664 123.129 4.70703C123.489 4.85742 123.79 5.03516 124.031 5.24023C124.273 5.44076 124.453 5.67773 124.571 5.95117C124.694 6.22005 124.756 6.52767 124.756 6.87402C124.756 7.22493 124.683 7.53939 124.537 7.81738C124.391 8.09082 124.182 8.32324 123.908 8.51465C123.639 8.70605 123.316 8.85417 122.938 8.95898C122.559 9.05924 122.138 9.10938 121.673 9.10938C121.263 9.10938 120.855 9.05924 120.449 8.95898C120.048 8.85872 119.686 8.70378 119.362 8.49414C119.039 8.28451 118.779 8.0179 118.583 7.69434C118.392 7.36621 118.296 6.98112 118.296 6.53906H119.95C119.95 6.77604 119.991 6.98112 120.073 7.1543C120.16 7.32292 120.281 7.46191 120.436 7.57129C120.595 7.67611 120.784 7.75358 121.003 7.80371C121.222 7.85384 121.463 7.87891 121.728 7.87891C122.06 7.87891 122.331 7.83561 122.541 7.74902C122.755 7.65788 122.91 7.53939 123.006 7.39355C123.106 7.24772 123.156 7.08822 123.156 6.91504ZM133 4.83008V5.21289C133 5.81901 132.913 6.36133 132.74 6.83984C132.567 7.31836 132.321 7.72852 132.002 8.07031C131.688 8.40755 131.309 8.66504 130.867 8.84277C130.425 9.02051 129.938 9.10938 129.404 9.10938C128.871 9.10938 128.383 9.02051 127.941 8.84277C127.499 8.66504 127.117 8.40755 126.793 8.07031C126.469 7.72852 126.219 7.31836 126.041 6.83984C125.868 6.36133 125.781 5.81901 125.781 5.21289V4.83008C125.781 4.22396 125.868 3.68164 126.041 3.20312C126.219 2.72461 126.467 2.31445 126.786 1.97266C127.105 1.63086 127.486 1.37109 127.928 1.19336C128.37 1.01562 128.857 0.926758 129.391 0.926758C129.928 0.926758 130.416 1.01562 130.854 1.19336C131.296 1.37109 131.676 1.63086 131.995 1.97266C132.319 2.31445 132.567 2.72461 132.74 3.20312C132.913 3.68164 133 4.22396 133 4.83008ZM131.353 5.21289V4.81641C131.353 4.40169 131.309 4.03483 131.223 3.71582C131.136 3.39681 131.006 3.12793 130.833 2.90918C130.664 2.69043 130.459 2.52409 130.218 2.41016C129.976 2.29622 129.701 2.23926 129.391 2.23926C129.085 2.23926 128.81 2.29622 128.563 2.41016C128.322 2.52409 128.117 2.69043 127.948 2.90918C127.784 3.12793 127.657 3.39681 127.565 3.71582C127.479 4.03483 127.436 4.40169 127.436 4.81641V5.21289C127.436 5.62305 127.479 5.98991 127.565 6.31348C127.657 6.63249 127.786 6.90365 127.955 7.12695C128.128 7.3457 128.336 7.51432 128.577 7.63281C128.823 7.74674 129.099 7.80371 129.404 7.80371C129.714 7.80371 129.988 7.74674 130.225 7.63281C130.466 7.51432 130.671 7.3457 130.84 7.12695C131.008 6.90365 131.136 6.63249 131.223 6.31348C131.309 5.98991 131.353 5.62305 131.353 5.21289ZM136.001 1.03613V9H134.354V1.03613H136.001ZM139.453 4.41992V5.73242H135.557V4.41992H139.453ZM139.897 1.03613V2.34863H135.557V1.03613H139.897ZM144.683 1.03613V9H143.035V1.03613H144.683ZM147.335 1.03613V2.34863H140.417V1.03613H147.335Z",fill:"black",fillOpacity:"0.54"})})})};var e_=r(862498),em=(0,J.observer)(e=>{let{setStep:t,step:r,unAuthorizedUserEmail:s}=e,{buildRegistrationQuery:a}=(0,v.A)(),n=(0,J.useLocalObservable)(()=>({email:s||"",password:"",confirmPassword:"",saving:!1,emailError:"",passwordError:"",passwordConfirmError:"",setEmail:e=>n.email=e,setPassword:e=>n.password=e,setConfirmPassword:e=>n.confirmPassword=e,setSaving:e=>n.saving=e,setEmailError:e=>n.emailError=e,setPasswordError:e=>n.passwordError=e,setPasswordConfirmError:e=>n.passwordConfirmError=e})),{t:i}=(0,j.C)(),u=(0,l.useRef)(),C=(0,l.useRef)(),p="REGISTRATION_ERROR"===r;(0,l.useEffect)(()=>{var e,t;n.email?null===(t=C.current)||void 0===t||t.focus():null===(e=u.current)||void 0===e||e.focus()},[]);let d=()=>{let e=n.emailError;return 0!==n.email.length?(0,G.o)(n.email)?e="":(t("REGISTRATION_ERROR"),e=i(b.OX.INCORRECT_EMAIL)):0===n.email.length&&p&&(e=i(b.OX.INCORRECT_EMAIL)),e!==n.emailError&&n.setEmailError(e),!!e},_=()=>{let e;return n.password.trim().length>0&&n.password.trim().length<5?(t("REGISTRATION_ERROR"),e=i(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS)):e="",n.password===n.confirmPassword?n.setPasswordConfirmError(""):n.password!==n.confirmPassword&&n.confirmPassword.trim().length>0&&n.setPasswordConfirmError(i(b.OX.PASSWORD_AND_CONFIRM_PASSWORD_MUST_BE_THE_SAME)),e!==n.passwordError&&n.setPasswordError(e),!!e},f=()=>{let e;return 0!==n.password.length&&0!==n.confirmPassword.length?n.password!==n.confirmPassword?(t("REGISTRATION_ERROR"),e=i(b.OX.PASSWORD_AND_CONFIRM_PASSWORD_MUST_BE_THE_SAME)):e="":0===n.password.length&&n.password===n.confirmPassword?e="":(e=i(b.OX.PASSWORD_AND_CONFIRM_PASSWORD_MUST_BE_THE_SAME),t("REGISTRATION_ERROR")),e!==n.passwordConfirmError&&n.setPasswordConfirmError(e),!!e},g=(0,l.useCallback)(e=>{(0,et.runInAction)(()=>{n.setEmail(e.target.value.trim()),n.setEmailError("")})},[]),x=(0,l.useCallback)(e=>{(0,et.runInAction)(()=>{n.setPassword(e.target.value.trim()),n.setPasswordError(""),n.setPasswordConfirmError("")})},[]),E=(0,l.useCallback)(e=>{(0,et.runInAction)(()=>{n.setConfirmPassword(e.target.value.trim()),n.setPasswordConfirmError(""),n.setPasswordError("")})},[]),S=(0,l.useCallback)(()=>{t("LOGIN")},[]),O=(0,l.useCallback)(async e=>{if(e.preventDefault(),!n.password&&!n.email&&!n.confirmPassword){t("REGISTRATION_ERROR"),(0,et.runInAction)(()=>{n.setEmailError(i(b.OX.INCORRECT_EMAIL)),n.setPasswordError(i(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS)),n.setPasswordConfirmError(i(b.OX.PASSWORD_AND_CONFIRM_PASSWORD_MUST_BE_THE_SAME))});return}if(n.password!==n.confirmPassword){n.setPasswordConfirmError(i(b.OX.PASSWORD_AND_CONFIRM_PASSWORD_MUST_BE_THE_SAME)),t("REGISTRATION_ERROR");return}if(!n.email&&!d())return n.setEmailError(i(b.OX.INCORRECT_EMAIL));if(!n.password&&!_())return n.setPasswordError(i(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS));if(!n.confirmPassword&&!f())return n.setPasswordConfirmError(i(b.OX.PASSWORD_AND_CONFIRM_PASSWORD_MUST_BE_THE_SAME));if(n.password.length<4)return n.setPasswordError(i(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS));if(!d()&&!_()&&!f()&&!n.emailError&&!n.passwordError&&!n.passwordConfirmError){n.setSaving(!0);let e=a(),{email:o,password:l}=n;try{await c.hi.registerUserByEmailUsingPost({email:o,password:l},{query:e}),n.setSaving(!1),t("REGISTER_SUCCESS",{email:o})}catch(a){let e=(0,b.oY)(a);if(e){var r,s;"GO_TO_STEP_NOT_CONFIRMED_EMAIL"===e?t("NOT_CONFIRMED_EMAIL"):(null==a?void 0:null===(s=a.response)||void 0===s?void 0:null===(r=s.data)||void 0===r?void 0:r.type)===b.eu.user_with_email_already_exists_exception&&t("LOGIN",{email:o})}}}n.setSaving(!1)},[n.password,n.email,n.confirmPassword,a]);return(0,o.jsxs)("form",{onSubmit:O,"data-clarity-mask":"True",children:[(0,o.jsx)(m,{title:i("pages.signup.headTitle")}),(0,o.jsxs)("div",{className:ee().common,children:[(0,o.jsx)(V,{textNode:(0,o.jsx)("p",{children:"Already have an account?"}),descriptionClickHandler:S,spanText:"Sign In",dataQa:"sign-in-btn"}),(0,o.jsx)(X.Z,{value:n.email,ref:u,placeholder:"Email",disabled:n.saving,onChange:g,errorText:n.emailError,onBlur:d,errorClassName:y()({[ee().errorInput]:p,[ee().outlineRed]:n.emailError}),inputClassName:y()(ee().inputMargin,T().input),errorTextClassName:T().inputErrorLabel,tabIndex:1,dataQa:"email-input"}),(0,o.jsx)(h.Z,{value:n.password,ref:C,placeholder:"Password",onBlur:_,errorClassName:y()({[ee().errorInput]:p,[ee().outlineRed]:n.passwordError}),eyeIcon:!0,errorText:n.passwordError,readOnly:n.saving,onChange:x,classNameInput:y()(ee().inputMargin,T().input),incorrectPasswordClassName:T().inputErrorLabel,eyeIconClassName:T().inputEyeIcon,tabIndex:2,autoFocus:!!n.email,dataQa:"password-input"}),(0,o.jsx)(h.Z,{value:n.confirmPassword,placeholder:"Confirm password",onBlur:f,eyeIcon:!0,errorClassName:y()({[ee().errorInput]:p,[ee().outlineRed]:n.passwordConfirmError}),readOnly:n.saving,errorText:n.passwordConfirmError,onChange:E,classNameInput:y()(ee().inputMargin,T().input),incorrectPasswordClassName:T().inputErrorLabel,eyeIconClassName:T().inputEyeIcon,tabIndex:3,dataQa:"confirm-password-input"}),(0,o.jsx)(w,{type:"blue",btnText:"Create Account",disabled:n.saving,icon:null,resetDefaultStyles:!0,tabIndex:4,btnType:"submit",dataQa:"page-login-continue"}),(0,o.jsx)(e_.Z,{text:"Or Continue With"}),(0,o.jsx)(eC,{}),(0,o.jsx)(ed,{className:ee().socialButtonMargin}),(0,o.jsx)(ep,{className:ee().socialButtonMargin}),(0,o.jsx)(z,{}),(0,o.jsx)(q.W,{containerClassName:ee().reCaptchaContainer})]})]})}),eh=r(733363),ef=r(115242),eg=r.n(ef),ex=e=>{let{onVerify:t,onExpired:r,onRenderError:s}=e,a=(0,l.useRef)(null),n=(0,l.useRef)(null),i=(0,l.useRef)(t);i.current=t;let c=(0,l.useRef)(r);c.current=r;let u=(0,l.useRef)(s);return u.current=s,(0,l.useEffect)(()=>{let e,t=!1,r=Date.now()+5e3,s=()=>{var a,o,l;if(t)return;if(!(null===(a=window.grecaptcha)||void 0===a?void 0:a.render)||!n.current){if(Date.now()>=r){null===(o=u.current)||void 0===o||o.call(u);return}e=setTimeout(s,100);return}let C=(0,eh.MB)();if(!C){null===(l=u.current)||void 0===l||l.call(u);return}window.grecaptcha.render(n.current,{sitekey:C,callback:e=>i.current(e),"expired-callback":()=>{var e;return null===(e=c.current)||void 0===e?void 0:e.call(c)}})};return s(),()=>{t=!0,clearTimeout(e)}},[]),(0,l.useEffect)(()=>{let e=a.current,t=n.current;if(!e||!t)return;let r=()=>{let r=e.clientWidth/304;t.style.transform="scale(".concat(r,")"),e.style.height="".concat(78*r,"px")};r();let s=new ResizeObserver(r);return s.observe(e),()=>s.disconnect()},[]),(0,o.jsx)("div",{ref:a,className:eg().wrapper,children:(0,o.jsx)("div",{ref:n,className:eg().widget})})},ey=r(840559),eE=r(439694);let ew={captchaType:eh.eS,v2Token:null,captchaResetCounter:0,captchaUnavailable:!1};var eS=r(874527),ev=r.n(eS),eb=r(732091),eO=e=>{let{setStep:t,step:r,options:s}=e,{onAuthSuccess:a,signupEnabled:n}=(0,v.A)(),i=(0,l.useRef)(),u="LOGIN_ERROR"===r,[C,p]=(0,l.useState)({email:!u&&(null==s?void 0:s.email)?null==s?void 0:s.email:"",password:"",emailError:"",saving:!1,passwordError:""}),{email:d,password:f,emailError:g,saving:x,passwordError:E}=C,S=function(){let[e,t]=(0,l.useState)(ew),r=(0,l.useCallback)(e=>{t(t=>({...t,v2Token:e}))},[]),s=(0,l.useCallback)(()=>{t(e=>({...e,v2Token:null}))},[]),a=(0,l.useCallback)(()=>{t(e=>({...e,captchaUnavailable:!0}))},[]),n=(0,l.useCallback)(()=>{t(e=>"google_recaptcha_v2"===e.captchaType?{...e,v2Token:null,captchaResetCounter:e.captchaResetCounter+1}:e)},[]),o=(0,l.useCallback)(e=>{if(403!==(0,ey.Qq)(e)||"cant_process"!==(0,ey.Pc)(e))return!1;let r=(0,eh.y6)(e);return t(e=>({...e,v2Token:null,captchaResetCounter:e.captchaResetCounter+1,captchaType:null!=r?r:e.captchaType,captchaUnavailable:!1})),!0},[]),i=(0,l.useCallback)(()=>{t(ew),(0,eE.IG)()},[]);return{...e,isBlocked:"google_recaptcha_v2"===e.captchaType&&!e.v2Token,onVerify:r,onExpired:s,onRenderError:a,burnToken:n,handleServerRejection:o,reset:i}}();(0,l.useEffect)(()=>{var e;null===(e=i.current)||void 0===e||e.focus()},[]);let{t:O}=(0,j.C)(),I=()=>{let e=g;return 0!==d.length?(0,G.o)(d)?e="":(t("LOGIN_ERROR"),e=O(b.OX.INCORRECT_EMAIL)):0===d.length&&u&&(e=O(b.OX.INCORRECT_EMAIL)),f&&u&&M(),e!==g&&p(t=>({...t,emailError:e})),!!e},M=()=>{let e;return f.length>0&&f.length<5?(t("LOGIN_ERROR"),e=O(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS)):e="",0===f.length&&u&&(e=O(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS)),e!==E&&p(t=>({...t,passwordError:e})),!!e},N=(0,l.useCallback)(e=>{p(t=>({...t,email:e.target.value.trim(),emailError:"",passwordError:E!==O(b.OX.INVALID_EMAIL_OR_PASSWORD)?E:""})),S.reset()},[d,E,S.reset]),H=(0,l.useCallback)(e=>{p(t=>({...t,password:e.target.value.trim(),emailError:g!==O(b.OX.INVALID_EMAIL_OR_PASSWORD)?g:"",passwordError:""}))},[f,g]),L=(0,l.useCallback)(()=>{t("REGISTRATION")},[]),k=(0,l.useCallback)(()=>{t("FORGOT_PASSWORD")},[]),A=(0,l.useCallback)(()=>{R.Z.createOrUpdateErrorToast("captchaUnavailable",O("pages.login.captcha.unavailable"))},[O]),P=(0,l.useCallback)(()=>{S.onRenderError(),A()},[S.onRenderError,A]),Z=(0,l.useCallback)(async e=>{if(e.preventDefault(),d||I()||p(e=>({...e,emailError:O(b.OX.INCORRECT_EMAIL)})),!f&&M()&&p(e=>({...e,passwordError:O(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS)})),!f&&!d){t("LOGIN_ERROR"),p(e=>({...e,emailError:O(b.OX.INCORRECT_EMAIL),passwordError:O(b.OX.PASSWORD_LENGTH_SHOULD_BE_MINIMUM_5_SYMBOLS)}));return}if(!I()&&!M()&&!g&&!E&&d&&f){if(S.isBlocked){S.captchaUnavailable&&A();return}p(e=>({...e,saving:!0}));try{let e=eb.Z.parseQueryParamsAndMakeRedirectUri(),r="google_recaptcha_v2"===S.captchaType?{captchaToken:S.v2Token}:{reCaptureAction:"SUBMIT"},{data:s}=await c.hi.loginUsingPost({email:d.toLowerCase(),password:f},{skipAuthRefresh:!0,query:e,captchaEscalationAware:!0,...r});if(s.twoFaRequired){t("TWO_FACTOR",{challengeToken:s.challengeToken});return}a({redirectUrl:s.redirectUrl})}catch(a){if(S.handleServerRejection(a))return;S.burnToken();let e=(0,b.oY)(a);if(e&&e!==b.I0.EMAIL_OR_PASSWORD_IS_INVALID){var r,s;R.Z.createOrUpdateErrorToast("loginError",e&&e===b.I0.ACCOUNT_IS_DELETING_EXCEPTION?"Account is delete":null===(s=a.response)||void 0===s?void 0:null===(r=s.data)||void 0===r?void 0:r.msg)}e&&e===b.I0.EMAIL_OR_PASSWORD_IS_INVALID&&(p(e=>({...e,emailError:O(b.OX.INVALID_EMAIL_OR_PASSWORD),passwordError:O(b.OX.INVALID_EMAIL_OR_PASSWORD)})),t("LOGIN_ERROR")),e&&e===b.I0.GO_TO_STEP_NOT_CONFIRMED_EMAIL&&t("NOT_CONFIRMED_EMAIL",{email:d}),e&&e===b.I0.ACCOUNT_IS_DELETING_EXCEPTION&&t(b.I0.ACCOUNT_IS_DELETING_EXCEPTION,{email:d})}finally{p(e=>({...e,saving:!1}))}}},[d,f,g,E,S.isBlocked,S.captchaUnavailable,S.captchaType,S.v2Token,S.handleServerRejection,S.burnToken,A,O]);return(0,o.jsxs)("form",{onSubmit:Z,"data-clarity-mask":"True",children:[(0,o.jsx)(m,{title:O("pages.login.headTitle")}),(0,o.jsxs)("div",{className:ev().common,children:[n&&(0,o.jsx)(V,{textNode:(0,o.jsx)("p",{children:"Don't have an account?"}),descriptionClickHandler:L,spanText:"Sign up for free",dataQa:"sign-up-btn"}),(0,o.jsx)(X.Z,{placeholder:"Email",ref:i,value:d,errorText:g!==O(b.OX.INVALID_EMAIL_OR_PASSWORD)?g:"",onChange:N,disabled:x,onBlur:I,errorClassName:y()({[ev().errorInput]:u,[ev().outlineRed]:g}),inputClassName:y()(ev().inputMargin,T().input),errorTextClassName:T().inputErrorLabel,tabIndex:1,dataQa:"email-input"}),(0,o.jsx)(h.Z,{value:f,placeholder:"Password",onBlur:M,eyeIcon:!0,disabled:x,onChange:H,forgotCallBack:k,show
1ForgotButton:!0,errorText:E,classNameInput:y()(ev().inputMargin,T().input),incorrectPasswordClassName:T().inputErrorLabel,errorClassName:y()({[ev().errorInput]:u,[ev().outlineRed]:E}),eyeIconClassName:T().inputEyeIcon,tabIndex:2,dataQa:"password-input"}),"google_recaptcha_v2"===S.captchaType&&(0,o.jsx)(ex,{onVerify:S.onVerify,onExpired:S.onExpired,onRenderError:P},"captcha-".concat(S.captchaResetCounter)),(0,o.jsx)(w,{type:"blue",icon:null,resetDefaultStyles:!0,btnText:"Login",tabIndex:3,btnType:"submit",disabled:S.isBlocked,...!_.BB&&{"data-qa":"page-login-continue","data-qa-test":"test"}}),(0,o.jsx)(e_.Z,{text:"Or Continue With"}),(0,o.jsx)(eC,{}),(0,o.jsx)(ed,{className:ev().socialButtonMargin}),(0,o.jsx)(ep,{className:ev().socialButtonMargin}),(0,o.jsx)(z,{}),(0,o.jsx)(q.W,{containerClassName:ev().reCaptchaContainer})]})]})},eI=r(888925),eR=r.n(eI),ej=r(722682),eM=r(101901),eT=r(64378),eN=e=>{let{challengeToken:t,newPassword:r,twoFactorMode:s,setStep:a}=e,{t:n}=(0,j.C)(),{onAuthSuccess:u}=(0,v.A)(),[{code:C,backupCode:p,isBackup:d,errorText:_,isSaving:m},h]=(0,l.useState)({code:"",backupCode:"",isBackup:!1,errorText:"",isSaving:!1}),{remainingSeconds:f,setRemainingSeconds:g}=(0,eT.Z)({onExpire:()=>h(e=>({...e,errorText:""}))}),x=(0,l.useRef)(f);(0,l.useEffect)(()=>{x.current=f},[f]);let w=(0,l.useMemo)(()=>C.length<eM.c||m||f>0,[C.length,m,f]),S=(0,l.useMemo)(()=>0===p.trim().length||m||f>0,[p,m,f]),b=d?S:w,O="RESET_PASSWORD"===s,I=r||"",R=(0,l.useCallback)(e=>{"backupCode"in e?h(t=>({...t,backupCode:e.backupCode,isBackup:!0,errorText:""})):h(t=>({...t,code:e.code,isBackup:!1,errorText:""}))},[]),M=(0,l.useCallback)(async(e,t,r,s)=>{h(e=>({...e,isSaving:!0}));try{if(O&&I){let s=i.parse(window.location.search),a=r?{newPassword:I,backupCode:t.trim()}:{newPassword:I,code:e};await c.hi.resetPasswordUsingPut(a,{query:s}),u({redirectUrl:"/"})}else{var o;if(!s){a("LOGIN");return}let n=r?{backupCode:t.trim(),challengeToken:s}:{code:e,challengeToken:s},l=await c.hi.verifyTwoFactorUsingPost(n,{skipAuthRefresh:!0,reCaptureAction:"SUBMIT"});u({redirectUrl:(null===(o=l.data)||void 0===o?void 0:o.redirectUrl)||"/"})}}catch(t){let e=(0,ey.Pc)(t);if("invalid_two_factor_challenge"===e){a("LOGIN");return}if("rate_limit_exceeded"===e){h(e=>({...e,errorText:n("pages.twoFactor.error.tooManyAttempts")})),g((0,ey.KX)(t));return}h(e=>({...e,errorText:r?n("pages.twoFactor.error.invalidBackupCode"):n("pages.twoFactor.error.invalidCode")}))}finally{h(e=>({...e,isSaving:!1}))}},[O,I,g,a,t,n,u]),T=(0,l.useCallback)(()=>{let e=x.current>0;return d?!e&&p.trim().length>0:!e&&C.length>=eM.c},[C.length,p,d]),N=(0,l.useCallback)(()=>{T()&&M(C,p,d,t)},[T,M,C,p,d,t]),H=(0,l.useCallback)(e=>{e.preventDefault(),N()},[N]);return(0,o.jsxs)("form",{onSubmit:H,className:y()("flex-container flex-column align-center justify-between",eR().container),"data-clarity-mask":"True",children:[(0,o.jsxs)("div",{className:y()("flex-container flex-column align-center justify-center gap-none gap-md",eR().titleWrapper),children:[(0,o.jsx)("h1",{className:eR().title,children:d?n("pages.twoFactor.backup.headTitle"):n("pages.twoFactor.headTitle")}),(0,o.jsx)("p",{className:eR().description,children:d?n("pages.twoFactor.backup.description"):n("pages.twoFactor.description")})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)(ej.Z,{onChange:R,onEnter:N,errorText:_}),(0,o.jsxs)("div",{className:y()("flex-container flex-column align-center justify-center gap-xl",eR().buttonWrapper),children:[(0,o.jsx)(E.Z,{disabled:b,type:"primary",btnType:"submit",className:eR().verifyBtn,children:m?n("pages.twoFactor.submitBtn.loading"):n("pages.twoFactor.submitBtn.title")}),(0,o.jsxs)("div",{className:"flex-container flex-row align-center justify-center gap-sm",children:[(0,o.jsx)("p",{className:eR().troubleText,children:n("pages.twoFactor.trouble.text")}),(0,o.jsx)("a",{className:eR().supportLink,href:"mailto:[email protected]",children:n("pages.twoFactor.trouble.contactSupport")})]})]})]}),(0,o.jsx)(z,{})]})},eH=r(258041),eL=r(581425),ek=r(124083),eA=r(274801),eV=r.n(eA),eP=r(705120);let eZ=e=>{let{onClick:t}=e;return(0,o.jsxs)(E.Z,{type:"secondary",className:y()(eV().backButton,"flex-container flex-row align-center"),onClick:t,children:[(0,o.jsx)(eP.Z,{width:18,height:18,viewBox:"0 0 16 16"}),"Back"]})};var eB=r(840506),eD=r(811163);let eW=e=>{let{onSignInWeb:t}=e,{t:r}=(0,j.C)(),s=(0,eD.useRouter)(),a=()=>{var e,t;let r=(null===(t=s.query)||void 0===t?void 0:null===(e=t.redirectUri)||void 0===e?void 0:e.toString())||"/";(0,eB.z)(r)};return(0,o.jsxs)("div",{className:"w-full flex flex-col items-center justify-center",children:[(0,o.jsx)("h1",{className:"text-2xl text-black my-2 font-medium text-center",children:r("project.public.openXtilesProject.title")}),(0,o.jsx)("p",{className:"text-xs text-[#1A1C1E8C] text-center mb-6 max-w-[260px]",children:r("project.public.openXtilesProject.description")}),(0,o.jsxs)("div",{className:"w-full flex flex-col items-center justify-center gap-2 mb-6",children:[(0,o.jsx)(E.Z,{type:"secondaryBlue",size:"medium",roundBorder:"roundLow",className:"w-full max-w-[280px] h-[44px]",onClick:t,children:r("project.public.openXtilesProject.signInOnWeb")}),(0,o.jsx)(E.Z,{type:"primary",size:"medium",roundBorder:"roundLow",className:"w-full max-w-[280px] h-[44px]",onClick:a,children:r("project.public.openInApp")})]}),(0,o.jsxs)("div",{className:"text-[#c3c7c9] mb-2 text-xs",children:[r("project.public.openXtilesProject.dontHaveApp")," ",(0,o.jsx)("span",{onClick:a,className:"underline cursor-pointer",children:r("project.public.openXtilesProject.installXTiles")})]}),(0,o.jsx)("a",{href:"https://xtiles.app/en",target:"_blank",rel:"noopener noreferrer",className:"text-[#bec2c4] text-xs",children:r("project.public.header.menu.whatIsXTiles")})]})},eU=e=>{let{getCurrentStep:t,unAuthorizedUserEmail:r,initialStep:s}=e,a=(0,eH.useDataQaEnabled)(),n=r||eL.p.getEmailFromLS(),[i,c]=(0,l.useState)({type:s}),u=(0,l.useRef)([]),C=function(e,r){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];c(t=>(s&&u.current.push(t),{type:e,options:r})),null==t||t(e)},p=(e,t)=>{C(e,t,!0)},d=(0,l.useCallback)(()=>{p("LOGIN")},[]),_=(0,l.useCallback)(()=>{let e=u.current.pop();e&&C(e.type,e.options,!1)},[]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:T().bg}),(0,o.jsxs)("div",{className:T().authWrapper,children:[(0,o.jsx)("div",{className:T().authContentWrapper,children:(0,o.jsxs)("div",{className:T().authContentScrollWrapper,children:["TWO_FACTOR"===i.t
1ype&&(0,o.jsx)(eZ,{onClick:_}),(0,o.jsx)("div",{className:T().section,children:(0,o.jsxs)("div",{className:y()(T().sectionInner,{[T().sectionInnerSuccess]:"REGISTER_SUCCESS"===i.type}),children:["REGISTER_SUCCESS"===i.type?(0,o.jsx)(L,{className:T().logo,width:48,height:48}):(0,o.jsx)("a",{href:"https://xtiles.app/",className:T().linkLogo,children:(0,o.jsx)(H.Z,{className:T().logo,width:48,height:48})}),(()=>{switch(i.type){case"LOGIN":case"LOGIN_ERROR":return(0,o.jsx)(eO,{options:i.options,step:i.type,setStep:p});case"OPEN_XTILES_PROJECT":return(0,o.jsx)(eW,{onSignInWeb:d});case"TWO_FACTOR":var e,t,r;return(0,o.jsx)(eN,{twoFactorMode:null===(e=i.options)||void 0===e?void 0:e.twoFactorMode,newPassword:null===(t=i.options)||void 0===t?void 0:t.newPassword,challengeToken:null===(r=i.options)||void 0===r?void 0:r.challengeToken,setStep:p});case"REGISTRATION":case"REGISTRATION_ERROR":return(0,o.jsx)(em,{step:i.type,setStep:p,unAuthorizedUserEmail:n});case"FORGOT_PASSWORD":return(0,o.jsx)($,{setStep:p,onLoginStep:d});case"NEW_PASSWORD":case"NEW_PASSWORD_ERROR":return(0,o.jsx)(N,{step:i.type,setStep:p});case"RESET_SUCCESS":return(0,o.jsx)(W,{setStep:p});case"REGISTER_SUCCESS":return(0,o.jsx)(D,{setStep:p,stepState:i});case"NOT_CONFIRMED_EMAIL":return(0,o.jsx)(P,{setStep:p,options:i.options})}})()]})})]})}),(0,o.jsx)("div",{className:T().imageWrapper,children:(0,o.jsx)("img",{src:"/_next/static/media/login_image.978c4e40.png",alt:"login_image",className:T().loginImage,...a&&{"data-qa":"login-image"}})}),(0,o.jsx)(ek.f,{})]})]})};eU.theme="light";var eF=eU},862498:function(e,t,r){"use strict";var s=r(785893),a=r(213191),n=r.n(a),o=r(693967),l=r.n(o);t.Z=e=>{let{text:t,className:r}=e;return(0,s.jsx)("div",{className:l()(n().divider,r),children:t})}},840506:function(e,t,r){"use strict";r.d(t,{z:function(){return a}});let s=e=>{let t=decodeURIComponent(e);return"undefined"===t&&(t="/"),"/"===t&&(t=""),"".concat("https://ul.xtiles.app/use/mobile-app","?targetUri=").concat(encodeURIComponent(window.location.origin+t))},a=e=>{window.open(s(e))}},626968:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var s=r(785893),a=r(312610),n=r.n(a),o=r(693967),l=r.n(o);let i=e=>{let{containerClassName:t}=e;return(0,s.jsxs)("div",{className:l()(n().container,t),children:[(0,s.jsx)("div",{children:"This site is protected by reCAPTCHA and the"}),(0,s.jsxs)("div",{children:["Google\xa0",(0,s.jsx)("a",{className:n().spanPolicy,href:"https://policies.google.com/privacy",target:"_blank",rel:"noreferrer nofollow",children:"Privacy Policy"}),"\xa0and\xa0",(0,s.jsx)("a",{className:n().spanPolicy,href:"https://policies.google.com/terms",target:"_blank",rel:"noreferrer nofollow",children:"Terms of Service"}),"\xa0apply"]})]})}},869055:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return o}});var s=r(785893),a=r(809008),n=r.n(a);r(667294);var o=e=>{let{title:t,metaURL:r,path:a}=e;return(0,s.jsxs)(n(),{children:[(0,s.jsx)("title",{"data-clarity-mask":"True",children:t}),(0,s.jsx)("meta",{name:"referrer",content:"origin"}),(0,s.jsx)("meta",{property:"og:title",content:"xTiles - Visual Tool to Organize Information"}),(0,s.jsx)("meta",{property:"og:site_name",content:"xtiles.app"}),(0,s.jsx)("meta",{property:"og:type",content:"website"}),(0,s.jsx)("meta",{property:"og:description",content:"xTiles = Your Ideas, Your rules. Easy way to organize a lot of things in one space."}),(0,s.jsx)("meta",{property:"og:url",content:"".concat(r).concat(a)}),(0,s.jsx)("meta",{property:"og:image",content:"".concat(r).concat("/_next/static/media/MetaLogo.1c4bd66d.png")}),(0,s.jsx)("link",{rel:"canonical",href:"".concat(r).concat(a)})]})}},732091:function(e,t,r){"use strict";var s=r(573292),a=r(812764),n=r(605910),o=r(480254);class l{parseQueryParamsAndMakeRedirectUri(e){var t;let r=new URLSearchParams(window.location.search);r.delete("signup");let s=["notificationId","ref","openState","PACategory","promoInput","templateId","templateCategoryId","buy",o.Of,"packInfo","fp_ref","lmref","im_ref","ps_xid"],a=new URLSearchParams;s.forEach(e=>{let t=r.get(e);t&&a.set(e,t)});let n=r.get("redirectUri")||e||"/",l=new URL(n=!n||(null===(t=n.startsWith)||void 0===t?void 0:t.call(n,"/"))?n:"/",window.location.origin);a.forEach((e,t)=>l.searchParams.set(t,e));let i=l.pathname+l.search;return r.set("redirectUri",i),r}prepareQueryString(){let e=this.parseQueryParamsAndMakeRedirectUri();e.set(n.AK,(0,a.Ze)());let t=e.toString();return t?"?".concat(t):""}constructor(){(0,s._)(this,"loginByGoogle",()=>{let e=this.prepareQueryString();window.location.href="/api/auth/oauth/provider/google"+e}),(0,s._)(this,"loginByApple",()=>{let e=this.prepareQueryString();window.location.href="/api/auth/oauth/provider/apple"+e}),(0,s._)(this,"loginByAMicrosoft",()=>{let e=this.prepareQueryString();window.location.href="/api/auth/oauth/provider/microsoft"+e})}}t.Z=new l},689900:function(e){e.exports={loginBtn:"styles_loginBtn__IWfoR",gray:"styles_gray__1D8FR",blue:"styles_blue__7ErJ0"}},274801:function(e){e.exports={backButton:"styles_backButton__wigah"}},638525:function(e){e.exports={havent:"styles_havent__BBedR",inner:"styles_inner__GA4DD"}},213191:function(e){e.exports={divider:"styles_divider__GXwHD"}},102615:function(e){e.exports={forgotInput:"styles_forgotInput__C3pDl",back:"styles_back__0skmt",reCaptchaContainer:"styles_reCaptchaContainer__UcV1O"}},874527:function(e){e.exports={common:"styles_common__xAmf7",step:"styles_step__oxA6m",info:"styles_info__Kb688",inputMargin:"styles_inputMargin__wVTy3",socialButtonMargin:"styles_socialButtonMargin__PfHy6",inputError:"styles_inputError__QQzC4",button:"styles_button__Cbboc",inputEmailWrapper:"styles_inputEmailWrapper__jLkp5",inputEmailText:"styles_inputEmailText__csL_l",buttonText:"styles_buttonText__Uuo_C",backSimple:"styles_backSimple__Ftk6R",errorInput:"styles_errorInput__HdcP3",outlineRed:"styles_outlineRed__VTFyI",reCaptchaContainer:"styles_reCaptchaContainer__tf2eY"}},264244:function(e){e.exports={common:"styles_common__ALt81",newPassMargin:"styles_newPassMargin__jNG3b",errorInput:"styles_errorInput__sww1T",outlineRed:"styles_outlineRed__4K4v5"}},30549:function(e){e.exports={oAuthSocialButton:"styles_oAuthSocialButton__22tEL",oAuthSocialButtonIcon:"styles_oAuthSocialButtonIcon__unJBP",oAuthGoogleButton:"styles_oAuthGoogleButton__ug3S0",oAuthMicrosoftButton:"styles_oAuthMicrosoftButton__5hBLU",oAuthAppleButton:"styles_oAuthAppleButton__OZwfI"}},763968:function(e){e.exports={common:"styles_common__NdWBb",step:"styles_step__anez7",info:"styles_info__Xxw_e",input:"styles_input__XBNKY",marginBottom:"styles_marginBottom__efPFW",inputError:"styles_inputError__bEW51",forgot:"styles_forgot__rQeyS",button:"styles_button__JzKDj",socialButtonMargin:"styles_socialButtonMargin__xPMpL",inputMargin:"styles_inputMargin__4gDez",inputEmailWrapper:"styles_inputEmailWrapper__cMpke",inputPassText:"styles_inputPassText__BJeMb",inputText:"styles_inputText__IcXTi",buttonText:"styles_buttonText__8sf_e",buttonContinue:"styles_buttonContinue__PWTDG",buttonResendEmail:"styles_buttonResendEmail__Go3Md",incorrectEmail:"styles_incorrectEmail__TDLcV",incorrectPassword:"styles_incorrectPassword__TS28R",incorrectConfirmPassword:"styles_incorrectConfirmPassword__sGGoJ",backSimple:"styles_backSimple__oy4Cf",havent:"styles_havent__35UX_",inner:"styles_inner__5Ex_W",logo:"styles_logo__9b23G",errorInput:"styles_errorInput__YGKh5",outlineRed:"styles_outlineRed__FAQIE",reCaptchaContainer:"styles_reCaptchaContainer__wnZXP"}},237050:function(e){e.exports={terms:"styles_terms__Qton0"}},794985:function(e){e.exports={title:"styles_title__E80HM"}},888925:function(e){e.exports={container:"styles_container__rgBP9",titleWrapper:"styles_titleWrapper__JIKIi",buttonWrapper:"styles_buttonWrapper__MCcJy",verifyBtn:"styles_verifyBtn__8ADYQ",title:"styles_title__Iq_2I",description:"styles_description__Hq0G1",troubleText:"styles_troubleText__ez7iZ",supportLink:"styles_supportLink__4n9Td"}},755932:function(e){e.exports={bg:"styles_bg__8Vp9D",authWrapper:"styles_authWrapper__1gn_H",authContentWrapper:"styles_authContentWrapper__vutk0",authContentScrollWrapper:"styles_authContentScrollWrapper__iWuoQ",section:"styles_section__dHJYm",sectionInner:"styles_sectionInner__QTDH8",sectionInnerSuccess:"styles_sectionInnerSuccess__XH45t",imageWrapper:"styles_imageWrapper__pdSHN",loginImage:"styles_loginImage__vl6pz",logo:"styles_logo__6e5nm",linkLogo:"styles_linkLogo__iqSLm",registerSuccessText:"styles_registerSuccessText__8uYdI",userEmail:"styles_userEmail__TYuPC",btnWrapper:"styles_btnWrapper___urSJ",description:"styles_description__ZqssS",back:"styles_back__f6lIO",input:"styles_input__Nbt_C",inputErrorLabel:"styles_inputErrorLabel__cLEX8",inputEyeIcon:"styles_inputEyeIcon___IxHW"}},312610:function(e){e.exports={container:"styles_container__AYUxs",spanPolicy:"styles_spanPolicy__cXocR"}},65436:function(e){e.exports={button:"styles_button__sjir7",text:"styles_text__usLow",authWrapper:"styles_authWrapper__rBdVQ"}},115242:function(e){e.exports={wrapper:"RecaptchaV2Checkbox_wrapper__v81Tj",widget:"RecaptchaV2Checkbox_widget__5SQTg"}},809008:function(e,t,r){e.exports=r(823867)},517563:function(e,t,r){"use strict";let s=r(970610),a=r(444020),n=r(480500),o=r(92806),l=e=>null==e,i=Symbol("encodeFragmentIdentifier");function c(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?s(e):encodeURIComponent(e):e}function C(e,t){return t.decode?a(e):e}function p(e){let t=e.indexOf("#");return -1!==t&&(e=e.slice(0,t)),e}function d(e){let t=(e=p(e)).indexOf("?");return -1===t?"":e.slice(t+1)}function _(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):t.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function m(e,t){c((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);let r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,s)=>{if(t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),!t){s[e]=r;return}void 0===s[e]&&(s[e]={}),s[e][t[1]]=r};case"bracket":return(e,r,s)=>{if(t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),!t){s[e]=r;return}if(void 0===s[e]){s[e]=[r];return}s[e]=[].concat(s[e],r)};case"colon-list-separator":return(e,r,s)=>{if(t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),!t){s[e]=r;return}if(void 0===s[e]){s[e]=[r];return}s[e]=[].concat(s[e],r)};case"comma":case"separator":return(t,r,s)=>{let a="string"==typeof r&&r.includes(e.arrayFormatSeparator),n="string"==typeof r&&!a&&C(r,e).includes(e.arrayFormatSeparator);r=n?C(r,e):r;let o=a||n?r.split(e.arrayFormatSeparator).map(t=>C(t,e)):null===r?r:C(r,e);s[t]=o};case"bracket-separator":return(t,r,s)=>{let a=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!a){s[t]=r?C(r,e):r;return}let n=null===r?[]:r.split(e.arrayFormatSeparator).map(t=>C(t,e));if(void 0===s[t]){s[t]=n;return}s[t]=[].concat(s[t],n)};default:return(e,t,r)=>{if(void 0===r[e]){r[e]=t;return}r[e]=[].concat(r[e],t)}}}(t),s=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return s;for(let a of e.split("&")){if(""===a)continue;let[e,o]=n(t.decode?a.replace(/\+/g," "):a,"=");o=void 0===o?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?o:C(o,t),r(C(e,t),o,s)}for(let e of Object.keys(s)){let r=s[e];if("object"==typeof r&&null!==r)for(let e of Object.keys(r))r[e]=_(r[e],t);else s[e]=_(r,t)}return!1===t.sort?s:(!0===t.sort?Object.keys(s).sort():Object.keys(s).sort(t.sort)).reduce((e,t)=>
1{let r=s[t];return r&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(r):e[t]=r,e},Object.create(null))}t.extract=d,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";c((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);let r=r=>t.skipNull&&l(e[r])||t.skipEmptyString&&""===e[r],s=function(e){switch(e.arrayFormat){case"index":return t=>(r,s)=>{let a=r.length;return void 0===s||e.skipNull&&null===s||e.skipEmptyString&&""===s?r:null===s?[...r,[u(t,e),"[",a,"]"].join("")]:[...r,[u(t,e),"[",u(a,e),"]=",u(s,e)].join("")]};case"bracket":return t=>(r,s)=>void 0===s||e.skipNull&&null===s||e.skipEmptyString&&""===s?r:null===s?[...r,[u(t,e),"[]"].join("")]:[...r,[u(t,e),"[]=",u(s,e)].join("")];case"colon-list-separator":return t=>(r,s)=>void 0===s||e.skipNull&&null===s||e.skipEmptyString&&""===s?r:null===s?[...r,[u(t,e),":list="].join("")]:[...r,[u(t,e),":list=",u(s,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(s,a)=>void 0===a||e.skipNull&&null===a||e.skipEmptyString&&""===a?s:(a=null===a?"":a,0===s.length)?[[u(r,e),t,u(a,e)].join("")]:[[s,u(a,e)].join(e.arrayFormatSeparator)]}default:return t=>(r,s)=>void 0===s||e.skipNull&&null===s||e.skipEmptyString&&""===s?r:null===s?[...r,u(t,e)]:[...r,[u(t,e),"=",u(s,e)].join("")]}}(t),a={};for(let t of Object.keys(e))r(t)||(a[t]=e[t]);let n=Object.keys(a);return!1!==t.sort&&n.sort(t.sort),n.map(r=>{let a=e[r];return void 0===a?"":null===a?u(r,t):Array.isArray(a)?0===a.length&&"bracket-separator"===t.arrayFormat?u(r,t)+"[]":a.reduce(s(r),[]).join("&"):u(r,t)+"="+u(a,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>
1{t=Object.assign({decode:!0},t);let[r,s]=n(e,"#");return Object.assign({url:r.split("?")[0]||"",query:m(d(e),t)},t&&t.parseFragmentIdentifier&&s?{fragmentIdentifier:C(s,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[i]:!0},r);let s=p(e.url).split("?")[0]||"",a=t.extract(e.url),n=Object.assign(t.parse(a,{sort:!1}),e.query),o=t.stringify(n,r);o&&(o=`?${o}`);let l=function(e){let t="",r=e.indexOf("#");return -1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(l=`#${r[i]?u(e.fragmentIdentifier,r):e.fragmentIdentifier}`),`${s}${o}${l}`},t.pick=(e,r,s)=>{s=Object.assign({parseFragmentIdentifier:!0,[i]:!1},s);let{url:a,query:n,fragmentIdentifier:l}=t.parseUrl(e,s);return t.stringifyUrl({url:a,query:o(n,r),fragmentIdentifier:l},s)},t.exclude=(e,r,s)=>{let a=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,a,s)}},480500:function(e){"use strict";e.exports=(e,t)=>{if(!("string"==typeof e&&"string"==typeof t))throw TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];let r=e.indexOf(t);return -1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},970610:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)}}]); 2//# sourceMappingURL=5295-26a1d64d7e4cc60d.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.