import{d as u,J as v,K as i,a as _,b as g,c as b,e as s,x as c,F as f,q as y}from"./registerWidgets.7afd6438.js";import{a as l}from"./asyncComputed.b60ddd9a.js";import{P as h}from"./project.74421f3d.js";import"./gateway.2390ee89.js";import{O as I}from"./organization.89788a5f.js";import"./index.9e389ffd.js";import{N as j}from"./Navbar.17af34a4.js";import{S as z}from"./Sidebar.b08699af.js";import{H as w,I as P,D as k,J as x,K as B,L as D,E as $,F as C,G as E}from"./icons.0ae396f2.js";import"./activeRecord.e140ff8e.js";import"./pubsub.9805d82b.js";import"./passwordlessManager.7da7ab9e.js";import"./logo.084e5d7c.js";import"./Tooltip.f20c5728.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]="5c426223-7a43-4c3e-94f8-553840190f9d",a._sentryDebugIdIdentifier="sentry-dbid-5c426223-7a43-4c3e-94f8-553840190f9d")}catch{}})();const N={class:"project"},S={class:"content-wrapper"},F=u({__name:"Project",setup(a){const r=v().params.projectId,{result:e}=l(()=>h.get(r)),{result:t}=l(()=>e.value?I.get(e.value.organizationId):Promise.resolve(null)),p=i(()=>{var n;return t.value&&e.value?[{label:(n=t.value)==null?void 0:n.name,path:`/organizations/${t.value.id}`},{label:e.value.name,path:`/projects/${e.value.id}`}]:void 0}),m=i(()=>e.value?[{name:"Project",items:[{name:"Builds",path:"builds",icon:w},{name:"Connectors",path:"connectors",icon:P},{name:"API Keys",path:"api-keys",icon:k},{name:"Env Vars",path:"env-vars",icon:x},{name:"Logs",icon:B,path:"logs",beta:!0},{name:"Settings",icon:D,path:"settings"}]},{name:"Organization",items:[{name:"Projects",icon:$,path:`/organizations/${e.value.organizationId}/projects`},{name:"Members",icon:C,path:`/organizations/${e.value.organizationId}/members`},{name:"Billing",icon:E,path:`/organizations/${e.value.organizationId}/billing`,unavailable:!0}]}]:[]);return(n,K)=>{const d=_("router-view");return g(),b(f,null,[s(j,{class:"nav",breadcrumb:p.value},null,8,["breadcrumb"]),c("div",N,[s(z,{class:"sidebar",sections:m.value},null,8,["sections"]),c("div",S,[s(d)])])],64)}}});const X=y(F,[["__scopeId","data-v-f3927501"]]);export{X as default};
//# sourceMappingURL=Project.6d269023.js.map
