import{_ as c}from"../../../js/AppFooter-B-qMSqC3.js";import{_ as l}from"../../../js/AppNavigation-BkIMMRqT.js";import{cD as m,d as u,cE as d,cF as _,b3 as f,G as p,e as S,o as s,n as g,w as o,a as e,I as k,J as M,E as w,c as j,co as v,F as C}from"../../../js/index-BVJsRopY.js";const P=m("norse-session-store",{state:()=>({loading:!0})}),E=u({__name:"MainLayout",setup(V){const r=d(),t=P(),n=_(),a=[{icon:"network:network",id:"norseProject",simulator:"norse",title:"Project",to:{name:"norseProjectRoot"}},{icon:"norse:logo",id:"norseModel",simulator:"norse",title:"Model",to:{name:"norseModelRoot"}}];return f(()=>{r.init(),n.init(),t.loading=!1}),(h,y)=>{const i=p("router-view");return S(t).loading?(s(),g(w,{key:0},{default:o(()=>[e(M,{class:"fill-height"},{default:o(()=>[e(k,{class:"ma-auto",color:"primary",indeterminate:""})]),_:1}),e(c)]),_:1})):(s(),j(C,{key:1},[e(l,{"nav-items":a}),e(v,null,{default:o(()=>[e(i)]),_:1})],64))}}});export{E as default};
