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]="6810d14e-ce94-4c9e-ba23-27928dd06ead",e._sentryDebugIdIdentifier="sentry-dbid-6810d14e-ce94-4c9e-ba23-27928dd06ead")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28394],{31318:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events/opendoors/registration",function(){return r(39408)}])},50924:function(e,t,r){"use strict";r.d(t,{x:function(){return _}});var s=r(5632),n=r(43672),u=r(34240),o=r(88969),a=r(43574),i=r(2784),l=r(62169),d=r(91283),f=r(83061),c=r(36958),g=r(54148),y=r(93755),p=r(46219),h=r(60686);let _=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],_=(0,s.useRouter)(),v=(0,n.I0)(),b=(0,n.v9)(u.um.isAuth),w=(0,n.v9)(o.Qt.loading),E=(0,n.v9)(a.LD.loading),k=(0,n.v9)(a.LD.redirectUrl),[m,I]=(0,i.useState)(""),[N,P]=(0,i.useState)(!1),D=(0,i.useRef)(!1),T=(0,i.useCallback)(()=>{D.current||(2186===e&&(0,g.K)({targets:[y.v7.ym,y.v7.ur],eventName:y.Eg.profMarathonRegistered,section:y.BX.registrationButtonProfMarathon}),D.current=!0)},[e]);(0,i.useEffect)(()=>{if(!b){let e=r?{}:{short:"true"};I((0,f.Nv)("/auth",{set:{..._.query,...e,scenario:t,[c.X.redirect]:(0,f.en)(_.asPath).url}})),P(!0)}},[b,_.asPath,_.query,t,r]),(0,i.useEffect)(()=>{b&&w===l.s.idle&&null!==e&&v(o.fn.register({data:{id:e,visit:(0,p.sk)(h.W9)}}))},[v,e,b,w]);let X=(0,i.useMemo)(()=>w===l.s.fulfilled||w===l.s.rejected,[w]);(0,i.useEffect)(()=>{if(!X&&null!==e)return;T();let r={...JSON.parse(localStorage.getItem("userTags")||"{}")};k?I(k):v(a.O$.start({data:{scenario:t,messengerType:d.o.vk,userTags:{...r},payload:{}}}))},[e,k,v,X,t,T]);let q=(0,i.useMemo)(()=>E===l.s.fulfilled||E===l.s.rejected,[E]);(0,i.useEffect)(()=>{q&&k&&(r?I(k):I((0,f.Nv)("/my/profile/setup",{set:{..._.query,[c.X.redirect]:k,scenario:t}})),P(!0))},[q,r,_.query,t,k]),(0,i.useEffect)(()=>{N&&(window.location.href=m)},[m,N])}},39408:function(e,t,r){"use strict";r.r(t);var s=r(42301),n=r(84396),u=r(50924),o=r(49797);let a=()=>((0,u.x)(980,s.mz.openDoors),null);a.getInitialProps=o.Y.getInitialPageProps(e=>async()=>{e.dispatch(n.ky.toggleLayout(!1))}),t.default=a}},function(e){e.O(0,[92888,49774,40179],function(){return e(e.s=31318)}),_N_E=e.O()}]); 2//# sourceMappingURL=registration-f05ff645f9aa0a56.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.