import{B as p}from"./BaseLayout-CGiFiYMD.js";import{C as f}from"./ContentLayout-jvdB99Ae.js";import{e as l,an as _,b as i,M as g,a9 as y,n as r,g as s,w as m,v as b,j as w}from"./jwt-decode.esm-BRUlSnzg.js";import{_ as v}from"./BillingAlert.vue_vue_type_script_setup_true_lang-0Uv5lzBj.js";import{u as z}from"./projectsStore-BacggLP8.js";import"./router-CG0O12sY.js";import"./ts.worker-Fh-NnXPO.js";import"./index-DgCgVeVD.js";import"./member-CSnNslTv.js";import"./organization-Ck6s10p9.js";import"./project-BicupVq0.js";import"./tables-BcoEqi8K.js";import"./string-CHaXYyix.js";import"./folder-BXQvf2Eu.js";import"./ant-design-Bn9W1nZk.js";import"./cascaderStore-N40_l8MY.js";import"./organizationSwitcher-LxwT0CkO.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]="e8f2f86e-226f-462c-9ee4-85c47a18c81c",t._sentryDebugIdIdentifier="sentry-dbid-e8f2f86e-226f-462c-9ee4-85c47a18c81c")}catch{}})();const q=l({__name:"Organization",setup(t){const e=_(),o=z(),n=i(()=>e.params.organizationId);g(n,a=>{a&&o.fetchedState?.organization?.id!==a&&o.fetchState(a)},{immediate:!0});const u=i(()=>o.fetchedState?.organization),c=i(()=>u.value?.billingMetadata);return(a,h)=>{const d=y("RouterView");return s(),r(p,null,{content:m(()=>[b(f,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{q as default};
//# sourceMappingURL=Organization-Dw_BPBNz.js.map
