!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"95b7c22eb8a2502481fe65c08f3bb8d7c317f943"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="17ce5f42-c544-4ff4-8f59-8f350b711bd4",e._sentryDebugIdIdentifier="sentry-dbid-17ce5f42-c544-4ff4-8f59-8f350b711bd4")}catch(e){}}(),(globalThis.webpackChunkcloud_frontend=globalThis.webpackChunkcloud_frontend||[]).push([[884],{72060(e,t,n){n.d(t,{A:()=>o});const o=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(o)},90884(e,t,n){n.r(t),n.d(t,{AuthTokenCallback:()=>f,default:()=>l});var o=n(96540),r=n(89942),d=n(72060);const f=()=>{const e=(0,r.W6)("redirect_uri"),t=(0,r.W6)("token");return(0,o.useEffect)(()=>{e&&t&&(localStorage.setItem("netdataJWT",t),location.href=(0,d.A)(decodeURIComponent(e)))},[]),null},l=f}}]);