import{S as c}from"./Sidebar.4912027e.js";import{_ as u}from"./Navbar.vue_vue_type_script_setup_true_lang.678474c4.js";import{L as b,M as f,N as g}from"./icons.bf22aa40.js";import{d as _,eB as v,H as s,a as y,b as w,c as z,w as i,f as r}from"./outputWidgets.66cb3323.js";import{a as h}from"./asyncComputed.e916adae.js";import"./router.0bc1d0d5.js";import"./index.9d397e35.js";import{O as I}from"./organization.13fe0a2b.js";import{B}from"./BaseLayout.ee46c20b.js";import"./index.c1ed2dcd.js";import"./logo.084e5d7c.js";import"./Text.86e9a2de.js";import"./Base.e0db6d09.js";import"./Typography.2ce150f4.js";import"./index.3de0e2a0.js";import"./ArrowRightOutlined.08fa31dd.js";import"./index.67ac4d72.js";import"./Form.6c3a2d9f.js";import"./hasIn.cda4df71.js";import"./popupNotifcation.9d486082.js";import"./index.cf4c23b9.js";import"./record.b20b5768.js";import"./pubsub.19cef690.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="fb346d57-24b9-4024-9683-220cf261ad99",t._sentryDebugIdIdentifier="sentry-dbid-fb346d57-24b9-4024-9683-220cf261ad99")}catch{}})();const U=_({__name:"Organization",setup(t){const n=v().params.organizationId,{result:o}=h(()=>I.get(n)),m=s(()=>o.value?[{label:"My organizations",path:"/organizations"},{label:o.value.name,path:`/organizations/${o.value.id}`}]:void 0),p=s(()=>{var e;return(e=o.value)==null?void 0:e.billingMetadata}),d=[{name:"Organization",items:[{name:"Projects",icon:b,path:"projects"},{name:"Editors",icon:f,path:"editors"},{name:"Billing",icon:g,path:"billing"}]}];return(e,M)=>{const l=y("router-view");return w(),z(B,null,{navbar:i(()=>[r(u,{breadcrumb:m.value,"billing-metadata":p.value},null,8,["breadcrumb","billing-metadata"])]),sidebar:i(()=>[r(c,{class:"sidebar",sections:d})]),content:i(()=>[r(l)]),_:1})}}});export{U as default};
//# sourceMappingURL=Organization.91e53052.js.map
