import{P as f}from"./PlayerNavbar.bad071ca.js";import{d as g,e4 as h,ec as c,r as y,c as b,m as k,a4 as v,u as a,a as w,h as L,e as C,f as I,o as i,_ as N}from"./jwt-decode.esm.ea959866.js";import{u as V}from"./workspaceStore.05920c8f.js";import"./userStore.d0eca952.js";import"./metadata.b53e48ef.js";import"./PhWebhooksLogo.vue.695738dd.js";import"./LoadingOutlined.233acb54.js";import"./PhSignOut.vue.0a89a25f.js";import"./index.8d5ef332.js";import"./runnerData.c2d3943c.js";import"./url.1e21ad57.js";import"./colorHelpers.a2d56f29.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]="47285f2b-6450-4e0e-b5c0-616f79c2c1e9",o._sentryDebugIdIdentifier="sentry-dbid-47285f2b-6450-4e0e-b5c0-616f79c2c1e9")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),u=c().path,n=y(null),d=async({path:r,id:s})=>{n.value=s,await e.push({path:`/${r}`}),n.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=b(()=>!!c().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return i(),v("div",x,[a(t).state.workspace?(i(),w(f,{key:0,"current-path":a(u),"hide-login":_.value,"runner-data":a(t).state.workspace,loading:n.value,onNavigate:d,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const G=N(D,[["__scopeId","data-v-f095bece"]]);export{G as default};
//# sourceMappingURL=Main.5cfc6c4e.js.map
