PageSourceSearch

https://auth.maze.co/_next/static/chunks/pages/confirm-fbc22d862e68b188.js

js maze.co collected 2026-09-24 08:30:37 UTC 10,042 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1264],{5899:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=()=>{var e,t,r,n;return(null==(n=window)||null==(r=n.amplitude)||null==(t=r.getInstance())||null==(e=t.options)?void 0:e.deviceId)||null}},15978:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});var n=r(1808),l=r(2390);let i=()=>(0,n.jsx)(l.LoadingPanel,{text:"Authenticating..."});var a=r(19227),o=r(93771);function s(){return(0,n.jsx)(i,{})}s.getInitialProps=a.Z,s.getLayout=o.t;let u=s},19227:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(89382),l=r(62108),i=r(67777),a=r(83395),o=r(67531),s=r(37477),u=r(71121),d=r(86903);let c=l.W.ssrStateMachineTimeout,f=i.A.child({module:"SignupPage"});class h extends Error{constructor(e,t){super(e),this.details=t}}async function p(e,t,r){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new Promise((t,i)=>{let u=null,d=setTimeout(()=>{let e='It is stuck on state "'.concat(JSON.stringify(null==u?void 0:u.state.value),'". Events: ').concat(JSON.stringify(null==u?void 0:u.state.events));null==u||u.stop(),i(new h('State machine hasn\'t transitioned into "interactable" state in '.concat(c,"ms!"),e))},c);u=(0,n.U4)((0,a.U)({actions:{syncLocation:(e,r,n)=>{var l;let{ssrEndsHere:i,pathname:a}=n.action,o="function"==typeof a?a(e):a;f.info("Performing syncLocation. pathname: ".concat(o),{userUuid:null==e||null==(l=e.user)?void 0:l.uuid}),i&&(clearTimeout(d),t({pathname:o,interpreter:u}))},handleError:()=>{},handleSuccess:()=>{},syncPendingSignup:()=>{},prefetchPage:()=>{}}}).withContext({cookies:l,headers:null==e?void 0:e.headers,location:{pathname:e.url,queryParams:r}}));let p=(0,s.p)(f.child({stateMachine:"machine-".concat(u.id)})),m=[];u.subscribe(e=>{if(e.hasTag(o.K)){clearTimeout(d),null==u||u.stop(),i(new h("loadUser failed during SSR",'Stuck on state "'.concat(JSON.stringify(e.value),'".')));return}Object.values(e.children).forEach(e=>{m.includes(e)||(e.subscribe((0,s.p)(f.child({machine:"".concat(e.id,"-machine")}))),m.push(e))}),p(e)}),u.start()})}async function m(e){let{req:t,res:r,query:n}=e;if(!t)return{cookies:(0,u.O)(r,t)};try{var l;let e=null==(l=t.url)?void 0:l.split("?")[0],i=(0,u.O)(r,t),{pathname:a,interpreter:o}=await p(t,r,n,i);return o.stop(),e!==a&&(0,d.u)(r,a),{serverInterpreter:o,cookies:i,hydratedContext:o.state.context}}catch(e){throw e&&e instanceof h?f.error(e.message,e.details):"string"==typeof e?f.error(e):f.error(e.message,e),null==r||r.write(JSON.stringify(e)),null==r||r.writeHead(500,{}),null==r||r.end(),e}}},42564:(e,t,r)=>{"use strict";function n(e){return e.replace(/([^:])(\/\/+)/g,"$1/")}r.d(t,{H:()=>n})},45738:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(9082)._(r(73628)),l=r(59020),i=[],a=[],o=!1;function s(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),i=null;function s(){if(!i){let t=new u(e,r);i={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return i.promise()}if(!o){let e=r.webpack&&1?r.webpack():r.modules;e&&a.push(t=>{for(let r of e)if(t.includes(r))return s()})}function d(e,t){s();let a=n.default.useContext(l.LoadableContext);
1a&&Array.isArray(r.modules)&&r.modules.forEach(e=>{a(e)});let o=n.default.useSyncExternalStore(i.subscribe,i.getCurrentValue,i.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:i.retry}),[]),n.default.useMemo(()=>{var t;return o.loading||o.error?n.default.createElement(r.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:i.retry}):o.loaded?n.default.createElement((t=o.loaded)&&t.default?t.default:t,e):null},[e,o])}return d.preload=()=>s(),d.displayName="LoadableComponent",n.default.forwardRef(d)}(s,e)}function c(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return c(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{c(i).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(o=!0,t());c(a,e).then(r,r)})),window.__NEXT_PRELOADREADY=d.preloadReady;let f=d},58166:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/confirm",function(){return r(15978)}])},59020:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(9082)._(r(73628)).default.createContext(null)},65756:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});let n=r(73628).createContext({})},71121:(e,t,r)=>{"use strict";r.d(t,{O:()=>a});var n=r(89100),l=r(57688),i=r.n(l);function a(e,t){if(!t)return{};let r=(0,n.getCookies)({req:t,res:e});return i()(r)&&t.headers.cookie&&(r=Object.fromEntries(t.headers.cookie.split(";").map(e=>e.split("=")))),r}},83213:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},noSSR:function(){return a}});let n=r(9082);r(1808),r(73628);let l=n._(r(45738));function i(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function o(e,t){let r=l.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let o=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=o?o().then(i):Promise.resolve(i(()=>null))}):(delete n.webpack,delete n.modules,a(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84579:(e,t,r)=>{"use strict";r.d(t,{M:()=>i,l:()=>a});var n=r(89100),l=r(10337);let i=(e,t,r)=>{var n;if(!(0,l.fU)()&&void 0!==window.analytics)return null==(n=window.analytics)?void 0:n.track(e,t,r)},a=function(){var e;let{id:t,accessToken:r,userProfile:i,emailVerified:a,...o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,l.fU)()||void 0===window.analytics)return;let s=(0,n.getCookie)("testerId"),u=window.segmentHardcodedUserEnabled?1:t;null==(e=window.analytics)||e.identify(String(u),{userId:String(u),verified:a,...o,...i,testerId:s},{segmentHardcodedUserEnabled:window.segmentHardcodedUserEnabled,integrations:{Salesforce:!1}})}},86903:(e,t,r)=>{"use strict";r.d(t,{u:()=>l});var n=r(10337);let l=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!(0,n.fU)())throw Error("This is SSR only util!");null==e||e.writeHead(r?301:302,{Location:t}),null==e||e.end()}},88556:(e,t,r)=>{e.exports=r(83213)},93771:(e,t,r)=>{"use strict";r.d(t,{t:()=>g});var n=r(1808),l=r(2390),i=r(88556),a=r.n(i),o=r(46426),s=r(73628),u=r(67777),d=r(10337),c=r(65756);let f=e=>"".concat(e,"_stack_length"),h=u.A.child({module:"useTrackingRouter"}),p=e=>{let{children:t,overriddenUrls:r,historyStackStorageKey:l}=e,i=(0,o.useRouter)(),a=(0,s.useRef)(function(e){var t;return(0,d.fU)()?0:Number(null!=(t=sessionStorage.getItem(f(e)))?t:0)}("historyStackKey")),u=(0,s.useMemo)(()=>({...i,push:(e,t,r)=>(a.current+=1,i.push(e,t,r)),beforePopState:e=>{i.beforePopState(t=>{if(!r.some(e=>t.url.startsWith(e)))return!0;let n=Math.sign(t.idx-a.current);return e(t,n)})}}),[i,a]);return(0,s.useEffect)(()=>{let e=e=>{let t=r.some(t=>e.state.url.startsWith(t)),n=window.history.state.idx;setTimeout(()=>{t?(h.info("Storing new current history stack position: ".concat(n)),a.current=n,sessionStorage.setItem(f(l),n)):sessionStorage.setItem(f(l),"0")},0),t&&e.preventDefault()};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[l,r]),(0,n.jsx)(c.D.Provider,{value:u,children:t})},m=a()(()=>Promise.all([r.e(3316),r.e(1744),r.e(2026),r.e(2867),r.e(9749),r.e(5360)]).then(r.bind(r,45281)).then(e=>e.SignupMachineInterpretProvider),{loadableGenerated:{webpack:()=>[45281]},ssr:!(0,d.KV)(),loading:()=>
1(0,n.jsx)(l.LoadingPanel,{})}),g=(e,t)=>(0,n.jsx)(p,{overriddenUrls:["/signup","/confirm"],historyStackStorageKey:"signup-machine",children:(0,n.jsx)(m,{...t,children:e})})},97739:(e,t,r)=>{"use strict";r.d(t,{$:()=>l,t:()=>n});let n=()=>{let e=null;try{let t=document.cookie.match(/_ga=(.+?);/);e=t&&t.length>=1?t[1].split(".").slice(-2).join("."):null}catch(e){}return e},l=()=>{for(let e of document.cookie.split("; ")){let[t,r]=e.split("=");if("gclid"===t)return r}return null}}},e=>{e.O(0,[7688,3316,2668,1744,8885,2867,636,6593,8792],()=>e(e.s=58166)),_N_E=e.O()}]);
2//# sourceMappingURL=confirm-fbc22d862e68b188.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.