import{B as p}from"./BaseLayout-DcrF5dVj.js";import{C as l}from"./ContentLayout-CtWTsbq9.js";import{e as f,an as _,b as i,M as b,a9 as g,n as r,g as s,w as m,v as y,j as w}from"./jwt-decode.esm-CcJLQF7t.js";import{_ as v}from"./BillingAlert.vue_vue_type_script_setup_true_lang-CYbYbY0p.js";import{u as z}from"./projectsStore-xsT1PygE.js";import"./router-CWfdoGjm.js";import"./ts.worker-BRz30wtU.js";import"./index-9Olx2Wl7.js";import"./member-ims2avCL.js";import"./organization-xhvh67R7.js";import"./project-D-6HUv1Z.js";import"./tables-daIasQCA.js";import"./string-C84WbZZV.js";import"./folder-CzZ7afoP.js";import"./ant-design-DscSJ9Lw.js";import"./cascaderStore-Ba-ndA5A.js";import"./organizationSwitcher-CctgUlkQ.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]="36f9bc62-d9a2-4356-8345-4334d8ccbb55",t._sentryDebugIdIdentifier="sentry-dbid-36f9bc62-d9a2-4356-8345-4334d8ccbb55")}catch{}})();const q=f({__name:"Organization",setup(t){const e=_(),o=z(),n=i(()=>e.params.organizationId);b(n,a=>{a&&o.fetchedState?.organization?.id!==a&&o.fetchState(a)},{immediate:!0});const d=i(()=>o.fetchedState?.organization),c=i(()=>d.value?.billingMetadata);return(a,h)=>{const u=g("RouterView");return s(),r(p,null,{content:m(()=>[y(l,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(u,{key:n.value}))]),_:1})]),_:1})}}});export{q as default};
//# sourceMappingURL=Organization-BK7OmSnw.js.map
