!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"48d9eb4d3342ea0ac79a97ca2a631ad14571d487"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a1c110f7-694b-4e48-a3a8-6bf78a78e4cd",e._sentryDebugIdIdentifier="sentry-dbid-a1c110f7-694b-4e48-a3a8-6bf78a78e4cd")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[884],{72060(e,t,n){n.d(t,{A:()=>a});const a=e=>{try{if(!e)return null;const t=document.createElement("a");return t.href=e,/https?/.test(t.protocol)?new URL(t.protocol+"//"+t.host+t.pathname+t.search+t.hash).toString():null}catch(t){return null}};n.dn(a)},90884(e,t,n){n.r(t),n.d(t,{AuthTokenCallback:()=>r,default:()=>l});var a=n(96540),o=n(89942),d=n(72060);const r=()=>{const e=(0,o.W6)("redirect_uri"),t=(0,o.W6)("token");return(0,a.useEffect)(()=>{e&&t&&(localStorage.setItem("netdataJWT",t),location.href=(0,d.A)(decodeURIComponent(e)))},[]),null},l=r}}]);