import{P as m}from"./PlayerNavbar.a0d1fdc3.js";import{d as g,ec as h,ei as c,r as y,c as k,j as v,ac as w,u as n,a as b,h as L,e as C,f as I,o as i,_ as N}from"./jwt-decode.esm.f87c17f7.js";import{u as V}from"./workspaceStore.ef7daa80.js";import"./userStore.3989ac4e.js";import"./metadata.f67c3158.js";import"./PhWebhooksLogo.vue.1684b943.js";import"./LoadingOutlined.d3cb97d3.js";import"./PhSignOut.vue.4b3b1f31.js";import"./index.ed2240ea.js";import"./url.acca5643.js";import"./colorHelpers.43bbe7b2.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="9138c228-ef90-4c1f-a653-fc52499263a4",o._sentryDebugIdIdentifier="sentry-dbid-9138c228-ef90-4c1f-a653-fc52499263a4")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),u=c().path,a=y(null),d=async({path:s,id:r})=>{a.value=r,await e.push({path:`/${s}`}),a.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=k(()=>!!c().meta.hideLogin);return(s,r)=>{const f=v("RouterView");return i(),w("div",x,[n(t).state.workspace?(i(),b(m,{key:0,"current-path":n(u),"hide-login":_.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:d,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(f)])])}}});const F=N(D,[["__scopeId","data-v-f095bece"]]);export{F as default};
//# sourceMappingURL=Main.17301685.js.map
