import{d as b,eA as w,eB as k,r as x,G as y,b as n,c as l,w as t,ev as h,eC as I,u as d,bf as C,ez as f,f as a,I as B,aq as N,eD as D,bq as S,bh as V,v as A,eE as E,eF as L,e as g,a as p,ex as T}from"./outputWidgets.49a82d72.js";import{h as $,s as q}from"./icons.2150c8c5.js";import{_ as z}from"./logo.084e5d7c.js";import{B as F}from"./BaseLayout.1d735bf3.js";import{N as H}from"./NavbarControls.d0487844.js";import{c as M}from"./index.79b4eb02.js";import"./asyncComputed.eabe06e7.js";import"./index.20960f33.js";import"./pubsub.6877ebe1.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.9e950d61.js";import"./SaveButton.vue_vue_type_script_setup_true_lang.99c0a5e0.js";import"./ant-design.43575ecc.js";import"./index.b6a77d69.js";import"./Modal.e7dfdcd9.js";import"./Link.0e4e713f.js";import"./Text.183f0e18.js";import"./index.ac4e3f86.js";import"./Title.d0eedb84.js";import"./index.99c9b8c6.js";import"./workspaces.9d6ac873.js";import"./record.ddefb071.js";import"./url.58ce58bc.js";import"./popupNotifcation.71277cbe.js";import"./CircularLoading.2f8293db.js";import"./index.b30ad69c.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]="cecf91cd-6b78-4878-b0b3-355237b3ef2f",e._sentryDebugIdIdentifier="sentry-dbid-cecf91cd-6b78-4878-b0b3-355237b3ef2f")}catch{}})();const R=b({__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:q,path:"settings"}]),i=_=>{o.push(_.path),r.value=_.path};return(_,Q)=>(n(),l(d(V),{"inline-collapsed":""},{default:t(()=>[(n(!0),h(S,null,I(u.value,s=>(n(),l(d(C),{key:s.name,role:"button",class:f({active:r.value===s.path}),tabindex:"0",onClick:U=>i(s)},{icon:t(()=>[a(B,{class:f({active:r.value===s.path}),path:s.icon,width:"20",height:"20"},null,8,["class","path"])]),title:t(()=>[N(D(s.name),1)]),_:2},1032,["class","onClick"]))),128))]),_:1}))}});const W={},v=e=>(E("data-v-81cd596e"),e=e(),L(),e),G={class:"logo"},P=v(()=>g("img",{src:z,alt:"Abstra cloud logo"},null,-1)),j=v(()=>g("span",null," Abstra ",-1)),J=[P,j];function K(e,o){return n(),h("div",G,J)}const O=A(W,[["render",K],["__scopeId","data-v-81cd596e"]]),xe=b({__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(()=>[a(d(M),{style:{padding:"5px 25px"}},{title:t(()=>[a(O)]),extra:t(()=>[a(H,{"show-github-stars":""},{default:t(()=>[T("",!0)]),_:1})]),_:1})]),sidebar:t(()=>[a(R,{class:"sidebar"})]),content:t(()=>[a(i)]),_:1})}}});export{xe as default};
//# sourceMappingURL=Workspace.e91c76c4.js.map
