import{_ as g}from"./DKqZLbne.js";import{_ as v}from"./Ba76BwjT.js";import{e as x,x as z,E as k,o as t,c as n,a,F as m,r as u,t as p,h as y,H as C,w as S,b as s,m as $,_ as d,aj as w,aC as B}from"./DpdQcRr7.js";import"./BXGwug7E.js";import"./MNmNWAT4.js";import"./DAqvLAaI.js";import"./q5-2l_tv.js";import"./DuJ0NDcC.js";import"./D1zzHZdQ.js";import"./D7eJvyae.js";import"./VG7eFHlH.js";import"./DnDgEkgi.js";import"./BcpEzrWT.js";const I={class:"org-sidebar"},N={class:"menu-nav"},V={key:0,class:"menu-group-label"},j={class:"menu-item-label"},E=x({__name:"OrganizationSidebar",setup(_){const i=z(),c=[{label:"",items:[{icon:"mdi:view-dashboard-outline",label:"ダッシュボード",to:"/organization",exact:!0}]},{label:"管理",items:[{icon:"mdi:monitor-eye",label:"授業モニター",to:"/organization/live"},{icon:"mdi:account-multiple-outline",label:"ユーザー管理",to:"/organization/users"},{icon:"mdi:cube-outline",label:"プロジェクト一覧",to:"/organization/projects"}]}],r=o=>o.exact?i.path===o.to:i.path.startsWith(o.to);return(o,A)=>{const b=k("Icon"),h=v;return t(),n("aside",I,[a("nav",N,[(t(),n(m,null,u(c,(l,f)=>a("div",{key:f,class:"menu-group"},[l.label?(t(),n("p",V,p(l.label),1)):y("",!0),(t(!0),n(m,null,u(l.items,e=>(t(),C(h,{key:e.to,to:e.to,class:$(["menu-item",{"menu-item--active":r(e)}])},{default:S(()=>[s(b,{icon:e.icon,width:19,height:19,class:"menu-item-icon"},null,8,["icon"]),a("span",j,p(e.label),1)]),_:2},1032,["to","class"]))),128))])),64))])])}}}),F=d(E,[["__scopeId","data-v-afaef8e0"]]),G={},H={class:"organization-layout"},L={class:"organization-main"};function O(_,i){const c=g,r=F,o=B;return t(),n("div",null,[s(c),a("div",H,[s(r),a("main",L,[w(_.$slots,"default",{},void 0,!0)])]),s(o)])}const Z=d(G,[["render",O],["__scopeId","data-v-809be8f8"]]);export{Z as default};
