import{P as m}from"./PlayerNavbar.f650e2d7.js";import{u as f,i as g}from"./workspaceStore.5e86d4c2.js";import{d as h,eo as y,ea as c,e as v,f as b,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.f3adf768.js";import"./metadata.330fba06.js";import"./PhBug.vue.2f731bdf.js";import"./PhCheckCircle.vue.e86b9dd7.js";import"./PhKanban.vue.dd808c16.js";import"./PhWebhooksLogo.vue.f610fe2c.js";import"./LoadingOutlined.1c6c198e.js";import"./PhSignOut.vue.1e827602.js";import"./index.6a697fc3.js";import"./Avatar.4775f847.js";import"./url.05ebda4d.js";import"./colorHelpers.850b4295.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]="ccc2c228-631c-4163-b150-8c2f975392dd",t._sentryDebugIdIdentifier="sentry-dbid-ccc2c228-631c-4163-b150-8c2f975392dd")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=y(),o=f(),u=c().path,a=v(null),d=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(u),"hide-login":l.value,"runner-data":n(o).state.workspace,loading:a.value,onNavigate:d,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.4fb64ced.js.map
