try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="41ad002a-e9de-40d7-a9ea-824967e4dda0",e._sentryDebugIdIdentifier="sentry-dbid-41ad002a-e9de-40d7-a9ea-824967e4dda0")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"1bb8aa54b6deb0d4e541ef02c3c43ba128927d94"};(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[884],{72060:(n,t,d)=>{d.d(t,{A:()=>o});const o=n=>{try{if(!n)return null;const e=document.createElement("a");return e.href=n,/https?/.test(e.protocol)?new URL(e.protocol+"//"+e.host+e.pathname+e.search+e.hash).toString():null}catch(e){return null}}},90884:(e,n,t)=>{t.r(n),t.d(n,{AuthTokenCallback:()=>a,default:()=>r});var d=t(96540),o=t(89942),l=t(72060);const a=()=>{const e=(0,o.W6)("redirect_uri"),n=(0,o.W6)("token");return(0,d.useEffect)((()=>{e&&n&&(localStorage.setItem("netdataJWT",n),location.href=(0,l.A)(decodeURIComponent(e)))}),[]),null},r=a}}]);