!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"6c5c4a21a2e48a657cc46560f5c18b469ebbf32c"};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:()=>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:()=>c,default:()=>d});var o=n(96540),a=n(89942),r=n(72060);const c=()=>{const e=(0,a.W6)("redirect_uri"),t=(0,a.W6)("token");return(0,o.useEffect)(()=>{e&&t&&(localStorage.setItem("netdataJWT",t),location.href=(0,r.A)(decodeURIComponent(e)))},[]),null},d=c}}]);