import{d as h,eA as w,eB as k,r as x,H as y,b as n,c as l,w as t,ev as b,eC as I,u as d,bu as C,ez as f,f as s,I as B,ar as N,eD as D,a$ as S,bw as V,v as A,eE as E,eF as L,e as g,a as p,ex as T}from"./outputWidgets.dbd82eb7.js";import{h as $,s as H}from"./icons.fd03d9d3.js";import{_ as z}from"./logo.084e5d7c.js";import{B as F}from"./BaseLayout.f96c61fb.js";import{N as M}from"./NavbarControls.b3252e42.js";import{c as R}from"./index.b8f03c84.js";import"./asyncComputed.35cc7f64.js";import"./index.8290c50d.js";import"./pubsub.56ebc718.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.230a8eb3.js";import"./SaveButton.vue_vue_type_script_setup_true_lang.e13d305a.js";import"./ant-design.135584d0.js";import"./index.0b3bc8c9.js";import"./Modal.856041d0.js";import"./Base.9ecb2d1e.js";import"./Link.dc03c6cd.js";import"./index.a7514a00.js";import"./Paragraph.1b3bd714.js";import"./Text.2567a5bf.js";import"./workspaces.c8fbb6c8.js";import"./runnerData.48f35186.js";import"./url.1be4a3aa.js";import"./record.a4c5bdc0.js";import"./popupNotifcation.7bde0b91.js";import"./CircularLoading.b2833a2e.js";import"./index.a1b32efe.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]="25ae16c5-ea6a-4695-9abd-22ba6e254d9c",e._sentryDebugIdIdentifier="sentry-dbid-25ae16c5-ea6a-4695-9abd-22ba6e254d9c")}catch{}})();const W=h({__name:"Sidebar",setup(e){var m;const o=w(),c=k(),r=x((m=c.name)!=null?m:"forms"),u=y(()=>[{name:"Home",icon:$,path:"home"},{name:"Settings",icon:H,path:"settings"}]),i=_=>{o.push(_.path),r.value=_.path};return(_,Q)=>(n(),l(d(V),{"inline-collapsed":""},{default:t(()=>[(n(!0),b(S,null,I(u.value,a=>(n(),l(d(C),{key:a.name,role:"button",class:f({active:r.value===a.path}),tabindex:"0",onClick:U=>i(a)},{icon:t(()=>[s(B,{class:f({active:r.value===a.path}),path:a.icon,width:"20",height:"20"},null,8,["class","path"])]),title:t(()=>[N(D(a.name),1)]),_:2},1032,["class","onClick"]))),128))]),_:1}))}});const P={},v=e=>(E("data-v-81cd596e"),e=e(),L(),e),j={class:"logo"},q=v(()=>g("img",{src:z,alt:"Abstra cloud logo"},null,-1)),G=v(()=>g("span",null," Abstra ",-1)),J=[q,G];function K(e,o){return n(),b("div",j,J)}const O=A(P,[["render",K],["__scopeId","data-v-81cd596e"]]),ye=h({__name:"Workspace",setup(e){return(o,c)=>{const r=p("ant-button"),u=p("router-link"),i=p("router-view");return n(),l(F,null,{navbar:t(()=>[s(d(R),{style:{padding:"5px 25px"}},{title:t(()=>[s(O)]),extra:t(()=>[s(M,{"show-github-stars":""},{default:t(()=>[T("",!0)]),_:1})]),_:1})]),sidebar:t(()=>[s(W,{class:"sidebar"})]),content:t(()=>[s(i)]),_:1})}}});export{ye as default};
//# sourceMappingURL=Workspace.3a033c9e.js.map
