1import{u as g,k as d,U as p,af as v,r as a,j as f,C as h,s as y,e as S,f as I,q as w,ar as E,w as x}from"./index-B2MBCU5O.js";import{S as P}from"./SpinnerWrapper-oCCDkQwR.js";import{b as j}from"./types-D7sQf3Ec.js";import"./virtualExposes-D-ahBxAD.js";import"./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__buster__assets36843775357_remoteEntry_js-5WA-1nXM.js";import"./preload-helper-B-fPAXoJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5841ee2c-034a-4977-b9b4-b947ee0f8c73",e._sentryDebugIdIdentifier="sentry-dbid-5841ee2c-034a-4977-b9b4-b947ee0f8c73")}catch{}})();function L(){const{refetchCurrentUser:e}=x(),r=g(),t=d(p),o=d(v),n=a.useMemo(()=>new URLSearchParams(r.search).get(j.orgId)||"",[r.search]),[u,b]=a.useState(""),[i,l]=a.useState(null);return a.useEffect(()=>{if(!n)return;async function m(c){try{await t.validateInvite({orgId:c});const[s]=await Promise.all([o.fetch({id:c}),e(c)]);b(s.name)}catch(s){if(s instanceof w)return;l(E(s))}}return m(n),()=>{o.abort(),t.abort()}},[n,e,t,o]),i?f.jsx(h,{errorMessage:i instanceof y?i.message:void 0}):u?f.jsx(S,{to:I(u)}):f.jsx(P,{})}export{L as default}; 2//# sourceMappingURL=ValidateInvite-DC_lJ9f-.js.map
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.