import{P as m}from"./PlayerNavbar.56b58c5c.js";import{u as f,i as g}from"./workspaceStore.16b63a32.js";import{d as h,eq as y,ed as i,e as b,f as v,r as k,X as w,u as n,c as L,R as I,a as N,b as C,o as c,$ as R}from"./vue-router.e2dfd848.js";import"./metadata.53a9240d.js";import"./PhBug.vue.f8429619.js";import"./PhCheckCircle.vue.6f9a85d2.js";import"./PhKanban.vue.2130d7f3.js";import"./PhWebhooksLogo.vue.89e23ddd.js";import"./LoadingOutlined.5e321cf1.js";import"./PhSignOut.vue.68ee0f80.js";import"./index.b5c4cf91.js";import"./Avatar.f0298e65.js";import"./url.55d7f2ef.js";import"./colorHelpers.b7fa6ef4.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]="94e18e7e-b29b-4187-8213-5e269d563c5b",t._sentryDebugIdIdentifier="sentry-dbid-94e18e7e-b29b-4187-8213-5e269d563c5b")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=y(),o=f(),u=i().path,a=b(null),d=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},p=()=>{e.push({name:"playerLogin"})},l=v(()=>!!i().meta.hideLogin);return g(()=>e.push({name:"playerLogin"})),(r,s)=>{const _=k("RouterView");return c(),w("div",V,[n(o).state.workspace?(c(),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.0a2fa96b.js.map
