import{d as b,eB as f,H as m,a as g,b as c,c as p,w as r,f as i,ex as _}from"./outputWidgets.809f1c57.js";import"./router.5b895db7.js";import"./index.c651a706.js";import{O as v}from"./organization.7e2d2c41.js";import{B as y}from"./BaseLayout.98c0a25c.js";import{a as w}from"./asyncComputed.466c4877.js";import{S as z,_ as h}from"./Sidebar.76db99d5.js";import{_ as I}from"./Navbar.vue_vue_type_script_setup_true_lang.29173086.js";import{L as B,M as C,N as M}from"./icons.8975fdbd.js";import"./Form.023148df.js";import"./hasIn.e1b15717.js";import"./popupNotifcation.0b39d2d3.js";import"./index.cf4c23b9.js";import"./record.41a2948e.js";import"./pubsub.67132179.js";import"./Text.9d2b2621.js";import"./Base.4c033746.js";import"./Typography.f29a9c7e.js";import"./index.6c6ae89c.js";import"./index.48e1252c.js";import"./logo.084e5d7c.js";import"./index.a7443c5a.js";import"./ArrowRightOutlined.08fa31dd.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="38d9c1a5-038c-4dc2-bac4-2c0f57f4ae23",a._sentryDebugIdIdentifier="sentry-dbid-38d9c1a5-038c-4dc2-bac4-2c0f57f4ae23")}catch{}})();const X=b({__name:"Organization",setup(a){const n=f().params.organizationId,{result:t}=w(()=>v.get(n)),l=m(()=>t.value?[{label:"My organizations",path:"/organizations"},{label:t.value.name,path:`/organizations/${t.value.id}`}]:void 0),s=m(()=>{var e;return(e=t.value)==null?void 0:e.billingMetadata}),d=[{name:"Organization",items:[{name:"Projects",icon:B,path:"projects"},{name:"Editors",icon:C,path:"editors"},{name:"Billing",icon:M,path:"billing"}]}];return(e,k)=>{const u=g("router-view");return c(),p(y,null,{navbar:r(()=>[i(I,{breadcrumb:l.value},null,8,["breadcrumb"])]),sidebar:r(()=>[i(z,{class:"sidebar",sections:d})]),content:r(()=>[s.value?(c(),p(h,{key:0,"billing-metadata":s.value},null,8,["billing-metadata"])):_("",!0),i(u)]),_:1})}}});export{X as default};
//# sourceMappingURL=Organization.b011b8c8.js.map
