1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[513],{2329:(r,e,n)=>{"use strict";n.d(e,{A:()=>o});var t=n(37876);let o=function(r){let{translation:e}=r;return(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})}},14589:r=>{r.exports={"general-container":"ErrorPopup_general-container__ilp7b","general-btn":"ErrorPopup_general-btn__LKbc_",img:"ErrorPopup_img__kudDK",text:"ErrorPopup_text__6Z1Uv",container:"ErrorPopup_container__HK7RC",h3:"ErrorPopup_h3__1__7N",btn:"ErrorPopup_btn__ipW7B",hint:"ErrorPopup_hint__91GkS","skeleton-loading":"ErrorPopup_skeleton-loading__YIuTp"}},24693:(r,e,n)=>{"use strict";n.d(e,{A:()=>p,P:()=>u});var t=n(37876),o=n(97543),i=n(18145),a=n(89099),l=n(47130),s=n(14589),c=n.n(s),_=n(749);function u(r){let{message:e}=r,{t:n}=(0,i.Bd)(["pricing","common"]),l=(0,a.useRouter)();return(0,t.jsxs)("div",{className:c()["general-container"],children:[(0,t.jsx)(_.A,{ult:"we met an error icon",className:c().img}),(0,t.jsx)("span",{className:c().text,children:e}),(0,t.jsx)(o.A,{color:"g-primary",onClick:()=>l.reload(),className:c()["general-btn"],height:"48px",fullWidth:!0,children:n("api_fail_button",{ns:"common"})}),(0,t.jsx)(o.A,{className:c()["general-btn"],height:"48px",color:"g-white",designType:"outlined",fullWidth:!0,children:(0,t.jsx)("a",{id:"intercom_link",href:"mailto:[email protected]",children:n("checkout_fail_button")})})]})}let p=function(){let r=(0,a.useRouter)(),{t:e,ready:n}=(0,i.Bd)("common");return n?(0,t.jsxs)("div",{className:c().container,children:[(0,t.jsx)("span",{className:c().h3,children:e("api_fail_popup_title_v2")}),(0,t.jsx)("span",{className:c().text,children:e("api_fail_popup_content_v2")}),(0,t.jsx)(l.A,{alt:e("api_fail_img_alt"),className:c().img}),(0,t.jsx)(o.A,{color:"g-primary",onClick:()=>{r.reload()},className:c().btn,minWidth:"220px",height:"44px",children:e("api_fail_button")}),(0,t.jsx)("span",{className:c().hint,children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e("api_fail_popup_hint",{aTagStart:"<a id='intercom_link' href='mailto:[email protected]'>",aTagEnd:"</a>"})}})})]}):null}},25691:r=>{r.exports={container:"TurnstileErrorModal_container__kdanG",h3:"TurnstileErrorModal_h3__Slcrv",text:"TurnstileErrorModal_text__ZpmPl",img:"TurnstileErrorModal_img__RNoTN",btn:"TurnstileErrorModal_btn__2nwc_",hint:"TurnstileErrorModal_hint__GSz6g","skeleton-loading":"TurnstileErrorModal_skeleton-loading__3NHVl"}},28758:(r,e,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/verify/[token]",function(){return n(39209)}])},39209:(r,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>f});var t=n(37876),o=n(24693),i=n(23159),a=n(61684),l=n(23398),s=n(99778),c=n(42207),_=n(24425),u=n(74901),p=n(45666),d=n(52732),m=n(6483),h=n(18145),x=n(89099),g=n(14232);let f=function(){let{t:r}=(0,h.Bd)(["seo","common"]),e=(0,x.useRouter)(),{token:n}=e.query,{isModalOpen:f,onOpen:N}=(0,a.g)(),{errorType:j,setErrorType:E}=(0,p.A)();return(0,g.useEffect)(()=>{let r=(0,c.V)();(0,u.q1)("/api/v2/verify","POST",{token:n},{headers:{[_.X]:r}}).then(r=>{var n;200===r.status?window.location.href=m.GM:404===r.status?e.push("/register"):(403===r.status&&(0,d.A)(null==(n=r.error)?void 0:n.info)?E(p.$.CSRF):E(p.$.UNKNOWN),N())})},[N,e,n,E]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.A,{title:r("verifyEmail.title"),canonicalURL:i.C,description:""}),(0,t.jsx)(l.A,{}),(0,t.jsxs)(a.A,{open:f,showCloseIcon:!1,children:[j===p.$.UNKNOWN&&(0,t.jsx)(o.A,{}),j===p.$.CSRF&&(0,t.jsx)(s.TurnstileErrorContent,{isReloadBtn:!0,content:r("error_common_content_CSRF",{ns:"common"}),errorCode:d.O,onClick:e.reload})]})]})}},45666:(r,e,n)=>{"use strict";n.d(e,{$:()=>o,A:()=>i});var t=n(14232),o=function(r){return r.INIT="init",r.UNKNOWN="unknown",r.CSRF="csrf",r}({});function i(){let[r,e]=(0,t.useState)("init");return(0,t.useMemo)(()=>({errorType:r,setErrorType:e}),[r])}},52732:(r,e,n)=>{"use strict";function t(r){return r&&"object"==typeof r&&"error_code"in r&&r.error_code===o}n.d(e,{A:()=>t,O:()=>o});let o=2001},99778:(r,e,n)=>{"use strict";n.r(e),n.d(e,{TurnstileErrorContent:()=>p,default:()=>d});var t=n(37876),o=n(61684),i=n(47130),a=n(25691),l=n.n(a),s=n(97543),c=n(18145),_=n(89099),u=n(2329);function p(r){let{content:e,errorCode:n,isReloadBtn:o,onClick:a}=r,{t:_}=(0,c.Bd)("common");return(0,t.jsxs)("div",{className:l().container,children:[(0,t.jsx)("span",{className:l().h3,children:_("error_modal_title")}),(0,t.jsxs)("span",{className:l().text,children:[e," ",_("error_code",{code:n})]}),(0,t.jsx)(i.A,{alt:_("api_fail_img_alt"),className:l().img}),(0,t.jsx)(s.A,{color:"g-primary",onClick:a,className:l().btn,minWidth:"220px",height:"44px",children:o?_("api_fail_button"):"OK"}),(0,t.jsx)("span",{className:l().hint,children:(0,t.jsx)(u.A,{translation:_("api_fail_popup_hint",{aTagStart:"<a id='intercom_link' href='mailto:[email protected]'>",aTagEnd:"</a>"})})})]})}function d(r){let{content:e,errorCode:n,isReloadBtn:i,isModalOpen:a,closeModal:l}=r,s=(0,_.useRouter)();return(0,t.jsx)(o.A,{open:a,onClose:l,children:(0,t.jsx)(p,{content:e,errorCode:n,isReloadBtn:i,onClick:()=>
1{if(i)return s.reload();l()}})})}}},r=>{r.O(0,[140,636,593,792],()=>r(r.s=28758)),_N_E=r.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.