import{S as p}from"./Sidebar.c6183869.js";import{_ as d}from"./Navbar.vue_vue_type_script_setup_true_lang.5f28bfff.js";import{D as c,E as l,F as u}from"./icons.d315d375.js";import{d as b,ey as f,H as g,a as _,b as y,c as v,w as a,f as r}from"./registerWidgets.7c26f935.js";import{a as w}from"./asyncComputed.cfc29dee.js";import"./gateway.e3086290.js";import{O as z}from"./organization.78d17aca.js";import"./index.bb66c593.js";import{B as h}from"./BaseLayout.772b473a.js";import"./Tooltip.86ad88cd.js";import"./logo.084e5d7c.js";import"./passwordlessManager.5d139655.js";import"./pubsub.c3a63076.js";import"./storage.53222b6f.js";import"./index.315bc9f8.js";import"./index.01e54af7.js";import"./Title.9a021125.js";import"./index.9a7a96c9.js";import"./index.4f17481f.js";import"./activeRecord.d07557d8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="3ef45418-f3b5-429b-913d-353856ddf5ed",e._sentryDebugIdIdentifier="sentry-dbid-3ef45418-f3b5-429b-913d-353856ddf5ed")}catch{}})();const J=b({__name:"Organization",setup(e){const n=f().params.organizationId,{result:t}=w(()=>z.get(n)),i=g(()=>t.value?[{label:"My organizations",path:"/organizations"},{label:t.value.name,path:`/organizations/${t.value.id}`}]:void 0),s=[{name:"Organization",items:[{name:"Projects",icon:c,path:"projects"},{name:"Members",icon:l,path:"members"},{name:"Billing",icon:u,path:"billing",unavailable:!0}]}];return(I,B)=>{const m=_("router-view");return y(),v(h,null,{navbar:a(()=>[r(d,{breadcrumb:i.value},null,8,["breadcrumb"])]),sidebar:a(()=>[r(p,{class:"sidebar",sections:s})]),content:a(()=>[r(m)]),_:1})}}});export{J as default};
//# sourceMappingURL=Organization.475414b7.js.map
