1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[627],{15624:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/authCallback",function(){return l(72201)}])},72201:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>y});var a=l(37876),n=l(77328),i=l.n(n),u=l(14232),d=l(2171),r=l(89099),s=l(34321),o=l(82669),c=l(63819),f=l(95993),h=l(6827),p=l(70657),v=l(34654),g=l(59766);function _(){let e=(0,r.useRouter)(),t=(0,d.useDispatch)(),l=(0,v.A)(),n=async a=>{try{var n,i,u,d,r,o,v;let _;if("google"===a){let t=await (0,g.mY)();_=(await s.$$.googleAuthCall((null==e||null==(v=e.query)?void 0:v.state)||"",{location:t})).data}if(c.default.setAuthCookies({token:_.data.token,id:_.data.id,username:null==_||null==(n=_.data)?void 0:n.profileHandle}),t(h.Yt.updatePrimaryUserData({..._.data,me:!0})),t(f.K5.updateAppData(null==_?void 0:_.data)),p.A.identify({userId:null==_||null==(i=_.data)?void 0:i.id,profileHandle:null==_||null==(u=_.data)?void 0:u.profileHandle}),l.identify({userId:null==_||null==(d=_.data)?void 0:d.id}),void 0!==sessionStorage.getItem("path")&&null!==sessionStorage.getItem("path"))return void c.default.redirectToPrevURLOnLogin(e);if((null==_||null==(r=_.data)?void 0:r.profileHandle)&&(null==_||null==(o=_.data)?void 0:o.published))return void e.push("/scroll");e.push("/user")}catch(t){e.push("/login")}};return(0,u.useEffect)(()=>{let{provider:t}=e.query;t&&n(t)},[e.isReady]),(0,a.jsxs)("div",{className:"w-screen h-screen flex justify-center items-center",children:[(0,a.jsx)(i(),{children:(0,a.jsx)("title",{children:"Logging you in..."})}),(0,a.jsx)(o.A,{})]})}_.getLayout=function(e){return(0,a.jsx)("div",{children:e})};let y=_}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=15624)),_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.