import{P as m}from"./PlayerNavbar.133d40a2.js";import{u as f,i as g}from"./workspaceStore.e769f3e4.js";import{d as h,eq as y,ed as c,e as v,f as b,r as k,X as w,u as n,c as L,R as I,a as N,b as C,o as i,$ as R}from"./vue-router.ef289645.js";import"./metadata.6c3403b5.js";import"./PhBug.vue.93aad22e.js";import"./PhCheckCircle.vue.373a0773.js";import"./PhKanban.vue.09039fd1.js";import"./PhWebhooksLogo.vue.33de9f09.js";import"./LoadingOutlined.d2a60b1a.js";import"./PhSignOut.vue.06da03ab.js";import"./index.6f836627.js";import"./Avatar.f56f3d4c.js";import"./url.7df1a15c.js";import"./colorHelpers.8f934995.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7cc47926-66c4-42ba-92d6-c37dd035c794",t._sentryDebugIdIdentifier="sentry-dbid-7cc47926-66c4-42ba-92d6-c37dd035c794")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=y(),o=f(),d=c().path,a=v(null),u=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},p=()=>{e.push({name:"playerLogin"})},l=b(()=>!!c().meta.hideLogin);return g(()=>e.push({name:"playerLogin"})),(r,s)=>{const _=k("RouterView");return i(),w("div",V,[n(o).state.workspace?(i(),L(m,{key:0,"current-path":n(d),"hide-login":l.value,"runner-data":n(o).state.workspace,loading:a.value,onNavigate:u,onLoginClick:p},null,8,["current-path","hide-login","runner-data","loading"])):I("",!0),N("section",x,[C(_)])])}}});const H=R(B,[["__scopeId","data-v-f6aef10c"]]);export{H as default};
//# sourceMappingURL=Main.cc4de37b.js.map
