import{P as f}from"./PlayerNavbar.a108ec85.js";import{u as m,i as g}from"./workspaceStore.7a260339.js";import{d as h,eo as y,ea as c,e as b,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.3768b992.js";import"./metadata.85f4878a.js";import"./PhBug.vue.442e0f41.js";import"./PhCheckCircle.vue.b821101a.js";import"./PhKanban.vue.77dba5f0.js";import"./PhWebhooksLogo.vue.5c2f778d.js";import"./LoadingOutlined.3ced2795.js";import"./PhSignOut.vue.5698d969.js";import"./index.2f175f06.js";import"./Avatar.b43e5acc.js";import"./url.e1deb4be.js";import"./colorHelpers.9157d6f6.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]="bfec34da-fac8-4028-9a4b-3c5319fb3e20",t._sentryDebugIdIdentifier="sentry-dbid-bfec34da-fac8-4028-9a4b-3c5319fb3e20")}catch{}})();const V={class:"main-container"},x={class:"content"},B=h({__name:"Main",setup(t){const e=y(),o=m(),u=c().path,a=b(null),p=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},d=()=>{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(f,{key:0,"current-path":n(u),"hide-login":l.value,"runner-data":n(o).state.workspace,loading:a.value,onNavigate:p,onLoginClick:d},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.ad661bb4.js.map
