import{B as l}from"./BaseLayout-C2Gh-Dp8.js";import{C as p}from"./ContentLayout-wu4S5n-_.js";import{e as f,ak as _,b as i,F as g,a4 as b,n as r,g as s,w as m,v as y,j as w}from"./jwt-decode.esm-Deqn1Ux5.js";import{_ as v}from"./BillingAlert.vue_vue_type_script_setup_true_lang-B2J2Iq7H.js";import{u as z}from"./projectsStore-CBf7XCI1.js";import"./router-B6biqbI0.js";import"./ts.worker-BgPvhfYd.js";import"./index-CvKDsf1Q.js";import"./member-Be2nsMRF.js";import"./organization-CmQIuZem.js";import"./project-Dwst1-Sb.js";import"./tables-MYWz1uv1.js";import"./string-_-d9aetX.js";import"./cascaderStore-T1frRrjt.js";import"./organizationSwitcher-B9PyNc-O.js";import"./ant-design-DvgVhEit.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="c6a95204-f131-45a2-b43c-302c504174a0",t._sentryDebugIdIdentifier="sentry-dbid-c6a95204-f131-45a2-b43c-302c504174a0")}catch{}})();const P=f({__name:"Organization",setup(t){const e=_(),a=z(),n=i(()=>e.params.organizationId);g(n,o=>{o&&a.fetchedState?.organization?.id!==o&&a.fetchState(o)},{immediate:!0});const u=i(()=>a.fetchedState?.organization),c=i(()=>u.value?.billingMetadata);return(o,h)=>{const d=b("RouterView");return s(),r(l,null,{content:m(()=>[y(p,null,{default:m(()=>[c.value?(s(),r(v,{key:0,"billing-metadata":c.value,"organization-id":n.value},null,8,["billing-metadata","organization-id"])):w("",!0),(s(),r(d,{key:n.value}))]),_:1})]),_:1})}}});export{P as default};
//# sourceMappingURL=Organization-MWE0MVkG.js.map
