import{B as l}from"./BaseLayout-Cr7c8Lz7.js";import{C as p}from"./ContentLayout-C4kqYgrc.js";import{e as f,V as _,b as i,N as g,Z as b,n as r,g as s,w as m,q as y,j as w}from"./jwt-decode.esm-01iVuizL.js";import{_ as z}from"./BillingAlert.vue_vue_type_script_setup_true_lang-DXwUHdPT.js";import{u as h}from"./projectsStore-DqP7ZYyp.js";import"./router-BE4iJyIf.js";import"./ts.worker-DFqcUvYQ.js";import"./index-Co6sFTdd.js";import"./member-CcyoZzj-.js";import"./organization-rDFeSKDr.js";import"./project-D9bRsPvi.js";import"./tables-Y94_Zbj9.js";import"./string-EINNl9A3.js";import"./cascaderStore-KQSHiNwP.js";import"./organizationSwitcher-_v8w5tbA.js";import"./ant-design-DeMf---4.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]="84ac6a52-7cc2-46f3-aca9-bdc9344f7b7a",t._sentryDebugIdIdentifier="sentry-dbid-84ac6a52-7cc2-46f3-aca9-bdc9344f7b7a")}catch{}})();const P=f({__name:"Organization",setup(t){const e=_(),a=h(),n=i(()=>e.params.organizationId);g(n,o=>{o&&a.fetchedState?.organization?.id!==o&&a.fetchState(o)},{immediate:!0});const d=i(()=>a.fetchedState?.organization),c=i(()=>d.value?.billingMetadata);return(o,v)=>{const u=b("RouterView");return s(),r(l,null,{content:m(()=>[y(p,null,{default:m(()=>[c.value?(s(),r(z,{key:0,"billing-metadata":c.value,"organization-id":n.value},null,8,["billing-metadata","organization-id"])):w("",!0),(s(),r(u,{key:n.value}))]),_:1})]),_:1})}}});export{P as default};
//# sourceMappingURL=Organization-pobEaSJX.js.map
