import{P as m}from"./PlayerNavbar.8e8c9c68.js";import{u as f,i as g}from"./workspaceStore.004e654c.js";import{d as h,eq as b,ed as i,e as y,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.7c54f186.js";import"./metadata.99b98ca2.js";import"./PhBug.vue.ee46ed66.js";import"./PhCheckCircle.vue.88697476.js";import"./PhKanban.vue.228527b9.js";import"./PhWebhooksLogo.vue.ab77448f.js";import"./LoadingOutlined.546bbab5.js";import"./PhSignOut.vue.9761accc.js";import"./index.282474d0.js";import"./Avatar.dd274476.js";import"./url.d360a955.js";import"./colorHelpers.cbcfc360.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]="9d489c81-bd52-4672-9443-80bfb211b115",t._sentryDebugIdIdentifier="sentry-dbid-9d489c81-bd52-4672-9443-80bfb211b115")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=b(),o=f(),d=i().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(()=>!!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(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.cae00c63.js.map
