PageSourceSearch

https://www.kvik.fi/_next/static/chunks/pages/auth/callback-d1dc48b1082c693f.js

js kvik.fi collected 2026-09-26 18:22:30 UTC 997 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3620],{16349:(e,r,n)=>{"use strict";n.r(r),n.d(r,{default:()=>u});var t=n(14232),o=n(55415),i=n(89099),a=n(36869);let u=()=>{let e=(0,i.useRouter)(),r=(0,a.m)(),[,n]=(0,o.R)();return(0,t.useEffect)(()=>{if(!e.isReady)return;let t=e.query.token,o=e.query.destination,i=Array.isArray(t)?t[0]:t,a=Array.isArray(o)?o[0]:o;if(!a){console.error("No destination found! Going back to main page"),e.replace("/");return}if(!i){console.error("No token found. Redirecting to login page."),r(a);return}n(i);let u=(e=>{if(!e)return"/";try{let r=new URL(e,window.location.origin);if(r.origin!==window.location.origin)return console.warn("Blocked external redirect:",r.toString()),"/";return r.pathname+r.search+r.hash}catch{return"/"}})(a);e.replace(u)},[e.isReady,e.query,e,r,n]),null}},88197:(e,r,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/callback",function(){return n(16349)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=88197)),_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.