import{e as n,ai as r,N as i,y as s,h as c,m as d,j as f,b8 as p,aO as l}from"./jwt-decode.esm-C2n6WQ0J.js";import{u}from"./organizationSwitcher-BcQYqEm1.js";import"./router-DyRErWhl.js";import"./ts.worker-BwqBcqxg.js";import"./organization-Brtl8D5A.js";import"./tables-Bfw_MTCm.js";import"./string-DePeD5b-.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="6f6e997e-38ba-4b62-b40f-44945f3968c9",o._sentryDebugIdIdentifier="sentry-dbid-6f6e997e-38ba-4b62-b40f-44945f3968c9")}catch{}})();const m={class:"loading-container"},_=n({__name:"RootRedirector",setup(o){const t=u(),a=r();return i(async()=>{const e=await t.selectDefaultOrganization();e.name==="organization"&&e.params?.organizationId?window.location.href=`/organizations/${e.params.organizationId}`:e.name==="onboarding"?window.location.href="/onboarding":a.replace(e)}),(e,g)=>(c(),s("div",m,[d(f(p),{size:"large"})]))}}),R=l(_,[["__scopeId","data-v-a77ce5c1"]]);export{R as default};
//# sourceMappingURL=RootRedirector-Dk3EMXsy.js.map
