PageSourceSearch

https://cdn.watchmaxx.com/site2/_next/static/chunks/pages/account/register_complete-df9dec02206a204f.js

js watchmaxx.com collected 2026-09-25 18:17:37 UTC 2,667 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[992],{9423:function(e,_,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/register_complete",function(){return r(54909)}])},54909:function(e,_,r){"use strict";r.r(_);var t=r(85893),n=r(67294),s=r(11163),o=r(41664),a=r.n(o),c=r(16777),i=r(57649),l=r(596),d=r(27292),u=r(64718),p=r.n(u);let h=/^[A-Za-z0-9-_=]+\.[A-Za-z0-9-_=]+\.?[A-Za-z0-9-_.+/=]*$/,g=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.H,{type:"h2",className:p().center,children:"Expired link"}),(0,t.jsxs)("p",{className:p().center,children:["Sorry, this registration link has already expired. Please try"," ",(0,t.jsx)(a(),{href:"/account/register",children:"registering"})," again."]})]}),x=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.H,{type:"h2",className:p().center,children:"Error"}),(0,t.jsxs)("p",{className:p().center,children:["Sorry, there was an error setting up your account. Please try"," ",(0,t.jsx)(a(),{href:"/account/register",children:"registering"})," again."]})]});_.default=()=>{let e=(0,n.useContext)(i._y),_=(0,s.useRouter)(),[r,o]=(0,n.useState)(null),{token:a}=_.query;return(0,n.useEffect)(()=>{if(!h.test(a))return(0,c.H)("CompleteRegister","invalid token: ".concat(a)),o((0,t.jsx)(x,{}));(0,c.l8)({route:"/account/register/complete",body:{token:a},useErrorObj:!0}).then(r=>e.actions.setAuth(r.token,r.email,()=>_.replace("/account/register_success"))).catch(e=>{604===e.errorCode?_.replace("/account/login"):e.message.includes("expired")?o((0,t.jsx)(g,{})):(o((0,t.jsx)(x,{})),(0,c.H)("CompleteRegister",e.message))})},[_,e.actions,a]),(0,t.jsx)(l._,{headerText:"Create Account",loaded:r,children:r})}},64718:function(e){e.exports={center:"center___Ne3AT",field:"field___Qoz1B",button:"button___1xdPp",back:"back___McP1A",button_small:"button_small___Pc69y",padded_button:"padded_button___1zdjg",button_disabled:"button_disabled___Qcm8V",orders_header:"orders_header___Rdz0N",signOut:"signOut___Sd3sT",order:"order___RpjAO",order_line:"order_line___1Cozo",order_line_2:"order_line_2___QojsR",blue:"blue___1Bd65",item_list:"item_list___1xczs",caret:"caret___1Ap31",continue:"continue___1yp3s",page_links:"page_links___Rozlx",profile_header:"profile_header___Spm5A",modal:"modal___SpzkV",ok:"ok___Oe3BB",login:"login___Pe3gM",checkbox:"checkbox___Oc6lA",password:"password___PcCdx",profile_password:"profile_password___1Adj4",create:"create___OcS8V",registerHeader:"registerHeader___PdSgN",hideSmall:"hideSmall___Mp3lC"}}},function(e){var _=function(_){return e(e.s=_)};e.O(0,[9774,2888,179],function(){return _(25436),_(9423)}),_N_E=e.O()}]);
2//# sourceMappingURL=register_complete-df9dec02206a204f.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.