1import{f as o,bm as f,r as u,bp as c}from"./index-B4_lKB0j.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"3b04a436aaa09b871bbc9aaf912981fe6a3097f5"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="0ef7bb6c-0d27-47a5-aa34-8127b6f9abf7",e._sentryDebugIdIdentifier="sentry-dbid-0ef7bb6c-0d27-47a5-aa34-8127b6f9abf7")}catch{}})();const d=()=>{const e=o(),{loginWithRedirect:r,isLoading:t,isAuthenticated:n,error:i}=f();return u.useEffect(()=>{if(t)return;let a=!1;return i?(e("/login",{replace:!0}),()=>{a=!0}):n?(e("/",{replace:!0}),()=>{a=!0}):(r({authorizationParams:{prompt:"select_account",connection:"ClassLink"}}).catch(s=>{a||(s instanceof Error&&c(s,{source:"ClassLinkLoginPage"}),e("/login",{replace:!0}))}),()=>{a=!0})},[t,n,i,r,e]),null};export{d as ClassLinkLoginPage};
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.