import{P as m}from"./PlayerNavbar.0c08e210.js";import{u as f,i as g}from"./workspaceStore.5911dabd.js";import{d as h,eo as b,ea as c,e as y,f as v,r as k,o as i,X as w,u as n,c as L,R as I,a as N,b as C,$ as R}from"./vue-router.2dfeb709.js";import"./metadata.55d408d1.js";import"./PhBug.vue.6ea7a039.js";import"./PhCheckCircle.vue.261dd653.js";import"./PhKanban.vue.5fe284b4.js";import"./PhWebhooksLogo.vue.ffe295f3.js";import"./LoadingOutlined.0f2bc7c7.js";import"./PhSignOut.vue.304a8c4b.js";import"./index.2909dd25.js";import"./Avatar.c6d91e9f.js";import"./url.052bc6c8.js";import"./colorHelpers.8745f3a5.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]="83e3a3ae-eab7-4ef3-92bd-b44cd4fdfb8c",t._sentryDebugIdIdentifier="sentry-dbid-83e3a3ae-eab7-4ef3-92bd-b44cd4fdfb8c")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=b(),o=f(),d=c().path,a=y(null),u=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},p=()=>{e.push({name:"playerLogin"})},l=v(()=>!!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-09fccc95"]]);export{H as default};
//# sourceMappingURL=Main.473bc43b.js.map
