1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="98479231-7a15-4bfc-85ee-3ef068aa2448",e._sentryDebugIdIdentifier="sentry-dbid-98479231-7a15-4bfc-85ee-3ef068aa2448")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9963],{11215:e=>{e.exports={label:"Checkbox_label__9UXOs",checkboxInput:"Checkbox_checkboxInput__xbJWS",checkboxIconWrapper:"Checkbox_checkboxIconWrapper__0_jNP",checkedIcon:"Checkbox_checkedIcon___STwZ",root:"Checkbox_root__KBaud",error:"Checkbox_error__oxYz5",disabled:"Checkbox_disabled__K3BQZ",labelRoot:"Checkbox_labelRoot__1j5Tz",checkboxRoot:"Checkbox_checkboxRoot__Q4XiA",checkbox:"Checkbox_checkbox__FnUX9",checked:"Checkbox_checked__ViX2G",errorText:"Checkbox_errorText__FopfX"}},13788:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n,s=r(14232);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let i=e=>s.createElement("svg",a({},e,{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),n||(n=s.createElement("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})))},20001:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sign-up",function(){return r(50074)}])},24381:(e,t,r)=>{"use strict";r.d(t,{I:()=>l});var n=r(14232),s=r(4902),a=r(80035);class i{constructor(){this.status="disconnected",this.connectedAddress=null,this.chainId=null,this.error=null,this.isModalOpen=!1,this.setStatus=e=>{this.status=e},this.setConnectedWallet=(e,t)=>{this.connectedAddress=e,this.chainId=t},this.setError=e=>{this.error=e},this.openModal=()=>{this.isModalOpen=!0},this.closeModal=()=>{this.isModalOpen=!1},(0,a.Gn)(this)}}(0,s.Cg)([a.sH],i.prototype,"status",void 0),(0,s.Cg)([a.sH],i.prototype,"connectedAddress",void 0),(0,s.Cg)([a.sH],i.prototype,"chainId",void 0),(0,s.Cg)([a.sH],i.prototype,"error",void 0),(0,s.Cg)([a.sH],i.prototype,"isModalOpen",void 0),(0,s.Cg)([a.XI],i.prototype,"setStatus",void 0),(0,s.Cg)([a.XI],i.prototype,"setConnectedWallet",void 0),(0,s.Cg)([a.XI],i.prototype,"setError",void 0),(0,s.Cg)([a.XI],i.prototype,"openModal",void 0),(0,s.Cg)([a.XI],i.prototype,"closeModal",void 0);var o=r(38421);function l(){return(0,n.useMemo)(()=>(0,o.M)(()=>new i,"web3"),[])}},30827:e=>{e.exports={root:"SignUpForm_root__XRpj7",inputWrapper:"SignUpForm_inputWrapper__oqXxs",buttonWrapper:"SignUpForm_buttonWrapper__Au9sx"}},37017:e=>{e.exports={root:"SignUpSection_root__2f1hr",footer:"SignUpSection_footer__Akys_"}},42834:(e,t,r)=>{"use strict";function n(e){return"string"==typeof e}r.d(t,{K:()=>n})},50074:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>Z,default:()=>ee});var n,s=r(37876),a=r(5811),i=r(14232),o=r(38546),l=r(26274),c=r(97868),u=r(89099),d=r(10795),h=r(19333),p=r(28952),g=r(86669),m=r(67099),f=r(24275),x=r(67429),_=r(66243),b=r(69241),v=r(11215),j=r.n(v);function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}let k=e=>i.createElement("svg",w({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 11",className:e.className?`${e.className} svgrIcon`:"svgrIcon",focusable:"false","aria-hidden":"true"}),n||(n=i.createElement("path",{d:"m13.73 2.69.68-.73L12.96.59l-.69.72zM5.43 10l-.72.69a1 1 0 0 0 1.45 0zm-2.7-4.32-.69-.73L.59 6.32l.68.73zm9.54-4.37-7.56 8 1.45 1.38 7.57-8zm-6.1 8L2.72 5.68 1.27 7.05l3.44 3.64z"}))),y=e=>{let{label:t,checked:r,disabled:n,onChange:a,testId:i}=e;return(0,s.jsxs)("label",{className:(0,b.A)(j().root,{[j().disabled]:!!n}),children:[(0,s.jsx)("span",{className:j().checkboxIconWrapper,children:r&&(0,s.jsx)(k,{className:j().checkedIcon})}),(0,s.jsx)("input",{className:j().checkboxInput,type:"checkbox",disabled:n,checked:r,onChange:e=>a(e.target.checked)}),(0,s.jsx)("span",{className:j().label,children:t})]})};
1var C=r(62528),E=r(8390),S=r(54596),N=r(5855),I=r(44435),A=r(24381),K=r(59354),P=r(74006),W=r(65001),M=r.n(W);let O=(0,a.PA)(function(e){let{auth:t}=e,n=(0,E.n)(),{trackStart:a,trackSubmit:o}=(0,S.F)(N._3.SocialMissingEmail),c=(0,A.I)(),{t:b}=(0,d.s9)("main"),v=h.K.auth.signUp,j=h.K.auth,w=(null==t?void 0:t.socialAuthType)||"telegram",k="telegram"===w,W="web3"===w,O={title:k?b(v.telegram.createAccount):"Connect Your Wallet"},R=(0,u.useRouter)(),[U,L]=(0,i.useState)(""),[T,F]=(0,i.useState)(""),[X,z]=(0,i.useState)(!1),{trialPeriod:D}=(0,I.L)(),B=async e=>{if(t){if(e.preventDefault(),!t.isValidEmail(U))return void F(b(j.invalidEmail));if(o(),k)l.tK?t.telegramRegister(U,X):t.authTelegram({email:U,isSubscriptionChecked:X});else if(W){let e=localStorage.getItem(_.U4),[{getAccount:n,signMessage:s},{wagmiConfig:a}]=await Promise.all([Promise.all([r.e(4307),r.e(1161),r.e(9714)]).then(r.bind(r,39714)),Promise.all([r.e(4307),r.e(6825),r.e(9999)]).then(r.bind(r,29999))]),{address:i}=n(a);if(!e||!i)return void F("Wallet not connected");try{let r=(0,K.G)(P.vu,JSON.parse(e)),{chainId:n}=r;if(!n)return void F("Chain ID not found");if(i.toLowerCase()!==r.address.toLowerCase())return void F("Wallet address changed. Please reconnect the original wallet.");c.setStatus("signing"),c.setError(null);let o=await t.web3Auth(i,n,e=>s(a,{message:e}),U,X);(null==o?void 0:o.message)?(F(o.message),c.setStatus("error")):(c.setStatus("connected"),c.closeModal())}catch(t){console.error("Web3 auth error:",t),c.setStatus("error");let e=t instanceof Error?t.message:"Authentication failed";c.setError({code:"AUTH_ERROR",message:e}),F(e)}}}};return(0,s.jsx)(p.g,{header:O,blocked:!1,children:(0,s.jsxs)("div",{className:M().root,children:[(0,s.jsxs)("form",{...(0,N.u4)(N._3.SocialMissingEmail),className:M().form,onSubmit:B,children:[(0,s.jsx)("div",{className:M().inputWrapper,children:(0,s.jsx)(x.k,{id:"email",testId:"sign-up-email",label:b(j.email),errorText:T,onChange:e=>{t&&(a(),F(""),L(e),t.a(e.toLowerCase()))},autoFocus:!0,maxLength:_.Bb})}),(0,s.jsx)(y,{testId:"sign-up-subscription-checkbox",label:(0,s.jsx)(g.x,{i18nKey:v.subscriptionShortLabel,ns:"main"}),checked:X,onChange:e=>{e&&n.createEvent("click_checkbox_news"),z(e)}}),(0,s.jsxs)("div",{className:M().buttonWrapper,children:[(0,s.jsx)(C.$,{testId:"signup-form-submit",size:"xxLarge",type:"submit",fullWidth:!0,children:k?b(v.telegram.create):"Create Account"}),(0,s.jsx)(C.$,{size:"xxLarge",fullWidth:!0,variant:"outlined",onClick:()=>{R.push(f.wn)},children:b(v.telegram.haveAccount)}),(0,s.jsxs)("p",{children:[b(h.K.mainPromo.proPlanTrial,{trialPeriod:D})," ",b(h.K.mainPromo.remark)]})]})]}),(0,s.jsx)("footer",{className:M().footer,children:(0,s.jsx)("p",{className:M().tncText,children:(0,s.jsx)(g.x,{i18nKey:v.termsAndConditionsText,ns:"main",components:{a:(0,s.jsx)(m.N,{color:"blue",href:f.pV,external:!0})}})})})]})})}),R=(0,o.r)(O);var U=r(87037),L=r(25105),T=r(42834),F=r(56464),X=r(55402),z=r(30827),D=r.n(z);let B=(0,a.PA)(function(e){let{auth:t}=e,{t:r}=(0,d.s9)("main"),n=h.K.auth,a=n.signUp,o=(0,E.n)(),{trackStart:l,trackSubmit:c}=(0,S.F)(N._3.Registration),[p,m]=(0,i.useState)(""),[f,b]=(0,i.useState)(""),[v,j]=(0,i.useState)(""),[w,k]=(0,i.useState)(!1),[A,K]=(0,i.useState)({isWeak:!1,validationRules:[]}),{trialPeriod:P}=(0,I.L)(),W=(0,u.useRouter)();return(0,i.useEffect)(()=>{if(!t||!W.isReady)return;let e=W.query.email;e&&T.K(e)&&!p&&(m(e),t.a(e.toLowerCase()))},[W.isReady,W.query.email,t]),(0,s.jsxs)("form",{...(0,N.u4)(N._3.Registration),className:D().root,onSubmit:M,children:[(0,s.jsxs)("div",{className:D().inputWrapper,children:[(0,s.jsx)(x.k,{id:"email",testId:"sign-up-email",label:r(n.email),errorText:v,value:p,onChange:function(e){t&&(l(),p||o.createEvent("insert_reg_form",{reg_field:"email"}),j(""),m(e),t.a(e.toLowerCase()))},autoFocus:!0,maxLength:_.Bb,disabled:!t}),(0,s.jsx)(X.y,{onChange:function(e){t&&(l(),f||o.createEvent("insert_reg_form",{reg_field:"password"}),j(""),K(t.validatePassword(e,F.AG)),b(e))},validatorResult:A,disabled:!t})]}),(0,s.jsx)(y,{testId:"sign-up-subscription-checkbox",label:(0,s.jsx)(g.x,{i18nKey:a.subscriptionShortLabel,ns:"main"}),checked:w,onChange:function(e){e&&o.createEvent("click_checkbox_news"),k(e)},disabled:!t}),(0,s.jsxs)("div",{className:D().buttonWrapper,children:[(0,s.jsx)(C.$,{testId:"signup-form-submit",size:"xxLarge",type:"submit",fullWidth:!0,disabled:!t||t.signingUp,children:r(a.signUp)}),(0,s.jsxs)("p",{children:[r(h.K.mainPromo.proPlanTrial,{trialPeriod:P})," ",r(h.K.mainPromo.remark)]})]})]});async function M(e){if(e.preventDefault(),!t||t.signingUp)return;let s=t.validatePassword(f,F.AG);
1if(K(s),t.isValidEmail(p)){if(!s.isWeak&&t.isValidEmail(p)){c();let e=await t.signUp(p,f,w);await o.createEvent("click_reg_button"),e&&j(e)}}else j(r(n.invalidEmail))}}),q=(0,o.r)(B);var H=r(37017),V=r.n(H);let G=(0,a.PA)(function(e){let{blocked:t}=e,{t:r}=(0,d.s9)("main"),n=h.K.auth.signUp,a={title:r(n.signUp)};return(0,s.jsx)(p.g,{header:a,blocked:t,children:(0,s.jsxs)("div",{className:V().root,children:[(0,s.jsx)(q,{}),(0,s.jsx)(L.V,{}),(0,s.jsxs)("footer",{className:V().footer,children:[(0,s.jsx)("p",{className:V().tncText,children:(0,s.jsx)(g.x,{i18nKey:n.termsAndConditionsText,ns:"main",components:{a:(0,s.jsx)(m.N,{color:"blue",href:f.pV,external:!0})}})}),(0,s.jsx)("p",{className:V().signInNote,children:(0,s.jsx)(g.x,{i18nKey:n.haveAccountLogIn,ns:"main",components:{a:(0,s.jsx)(m.N,{color:"blue",href:f.wn})}})})]})]})})}),J=(0,a.PA)(function(e){let{auth:t}=e;switch((0,c.L)(null==t?void 0:t.telegramLogin),(0,i.useEffect)(()=>{l.tK&&(null==t||t.setSignUpStage("missingTelegramEmail"))},[t]),null==t?void 0:t.signUpStage){case"end":return(0,s.jsx)(U.e,{stage:"confirmEmail",email:t.confirmationEmail});case"missingTelegramEmail":return(0,s.jsx)(R,{});default:return(0,s.jsx)(G,{blocked:!t})}}),$=(0,o.r)(J);var Q=r(55678),Y=r(89774),Z=!0;let ee=()=>(0,s.jsx)(Q.z,{metaPage:Y.m.SIGN_UP,children:(0,s.jsx)($,{})})},55678:(e,t,r)=>{"use strict";r.d(t,{z:()=>i});var n=r(37876),s=r(40614),a=r(53224);let i=e=>{let{metaPage:t,...r}=e;return(0,n.jsx)(s.B,{...r,tNamespace:"common",tKeysMeta:a.n.head[t]})}},65001:e=>{e.exports={root:"SocialMissingEmail_root__PJGB8",footer:"SocialMissingEmail_footer__kXTLm",form:"SocialMissingEmail_form__S2PJV",inputWrapper:"SocialMissingEmail_inputWrapper__dq_g8",buttonWrapper:"SocialMissingEmail_buttonWrapper__id8HX"}},87037:(e,t,r)=>{"use strict";r.d(t,{e:()=>f});var n=r(37876),s=r(69241),a=r(26274);function i(){var e,t;if(a.kU)return;let r=null==(t=document.getElementById("respondoai-widget-container"))||null==(e=t.shadowRoot)?void 0:e.querySelector("button.respondoai-launcher");if(!r)return void console.warn("Respondo widget is not initialized yet");"Open chat"===r.getAttribute("aria-label")&&r.click()}var o=r(10795),l=r(19333),c=r(2609),u=r(28952),d=r(49087),h=r(86669),p=r(67099),g=r(93119),m=r.n(g);let f=e=>{let{email:t,stage:r}=e,{t:a}=(0,o.s9)("main"),g=l.K.auth,f=l.K.auth.stage,x="wrongDeviceForConfirm"===r||"deviceAuthorization"===r,_={icon:"wrongDeviceForConfirm"===r?"alert":"email",title:a(f[r].title),description:(0,n.jsx)(h.x,{ns:"main",values:{email:t},i18nKey:f[r].text,tOptions:{transKeepBasicHtmlNodesFor:["p"]},components:{a:(0,n.jsx)(p.N,{href:"mailto:[email protected]",color:"blue"}),blue:(0,n.jsx)("span",{className:m().highlight})}})};return(0,n.jsx)(u.g,{height:"confirmEmail"===r?"long":"short",blocked:!1,children:(0,n.jsxs)("div",{className:(0,s.A)(m().root,{[m().withFooter]:x}),children:[(0,n.jsx)("div",{className:m().content,children:(0,n.jsx)(d.w,{..._})}),x&&(0,n.jsxs)("footer",{className:m().footer,children:[a(g.login.cannotLogin),(0,n.jsx)(c.Q,{onClick:i,children:a(g.login.getHelp)})]})]})})}},93119:e=>{e.exports={root:"AuthMessage_root___Ae8D",withFooter:"AuthMessage_withFooter__WR9EX",content:"AuthMessage_content__ztG6V",highlight:"AuthMessage_highlight__yUOKO",footer:"AuthMessage_footer__bo7Av"}},93470:(e,t,r)=>{"use strict";function n(e){let t="==".slice(0,(4-e.length%4)%4),r=atob(e.replace(/-/g,"+").replace(/_/g,"/")+t),n=new ArrayBuffer(r.length),s=new Uint8Array(n);for(let e=0;e<r.length;e++)s[e]=r.charCodeAt(e);return n}function s(e){let t=new Uint8Array(e),r="";for(let e of t)r+=String.fromCharCode(e);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}r.d(t,{Jt:()=>f});var a="copy",i="convert";function o(e,t,r){if(t===a)return r;if(t===i)return e(r);if(t instanceof Array)return r.map(r=>o(e,t[0],r));if(t instanceof Object){let n={};for(let[s,a]of Object.entries(t)){if(a.derive){let e=a.derive(r);void 0!==e&&(r[s]=e)}if(!(s in r)){if(a.required)throw Error(`Missing key: ${s}`);continue}if(null==r[s]){n[s]=null;continue}n[s]=o(e,a.schema,r[s])}return n}}function l(e,t){return{required:!0,schema:e,derive:t}}function c(e){return{required:!0,schema:e}}function u(e){return{required:!1,schema:e}}
1var d={type:c(a),id:c(i),transports:u(a)},h={appid:u(a),appidExclude:u(a),credProps:u(a)},p={appid:u(a),appidExclude:u(a),credProps:u(a)};c({rp:c(a),user:c({id:c(i),name:c(a),displayName:c(a)}),challenge:c(i),pubKeyCredParams:c(a),timeout:u(a),excludeCredentials:u([d]),authenticatorSelection:u(a),attestation:u(a),extensions:u(h)}),u(a),c(a),c(a),c(i),u(a),c({clientDataJSON:c(i),attestationObject:c(i),transports:l(a,e=>{var t;return(null==(t=e.getTransports)?void 0:t.call(e))||[]})}),l(p,e=>e.getClientExtensionResults());var g={mediation:u(a),publicKey:c({challenge:c(i),timeout:u(a),rpId:u(a),allowCredentials:u([d]),userVerification:u(a),extensions:u(h)}),signal:u(a)},m={type:c(a),id:c(a),rawId:c(i),authenticatorAttachment:u(a),response:c({clientDataJSON:c(i),authenticatorData:c(i),signature:c(i),userHandle:c(i)}),clientExtensionResults:l(p,e=>e.getClientExtensionResults())};async function f(e){let t=await navigator.credentials.get(o(n,g,e));return o(s,m,t)}},97868:(e,t,r)=>{"use strict";r.d(t,{L:()=>i});var n=r(14232),s=r(26274),a=r
1(10967);let i=e=>{let{isReady:t,webApp:r}=(0,a.e)(),i=(0,n.useRef)(e);(0,n.useEffect)(()=>{i.current=e},[e]),(0,n.useEffect)(()=>{var e;s.tK&&t&&r&&(r.expand(),["tdesktop","macos"].includes(r.platform)||r.isFullscreen||r.requestFullscreen(),null==(e=i.current)||e.call(i))},[t,r])}}},e=>{e.O(0,[6701,8620,6571,3224,814,636,6593,8792],()=>e(e.s=20001)),_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.