import{P as f}from"./PlayerNavbar.d862c5f6.js";import{d as g,e5 as h,ea as c,r as y,c as b,m as k,a5 as v,u as n,a as w,h as L,e as C,f as I,o as i,_ as N}from"./jwt-decode.esm.23ceadb7.js";import{u as V}from"./workspaceStore.5a1444e4.js";import"./userStore.8c20e3fa.js";import"./metadata.d7026bce.js";import"./PhWebhooksLogo.vue.ca6294d9.js";import"./LoadingOutlined.66ffb188.js";import"./PhSignOut.vue.0263e984.js";import"./index.536c5d7f.js";import"./runnerData.73826bfe.js";import"./url.e26dec77.js";import"./colorHelpers.e1f37246.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]="96e9af75-1a21-41c5-b470-63c478282b0f",o._sentryDebugIdIdentifier="sentry-dbid-96e9af75-1a21-41c5-b470-63c478282b0f")}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:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.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,[n(t).state.workspace?(i(),w(f,{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(m)])])}}});const G=N(D,[["__scopeId","data-v-f095bece"]]);export{G as default};
//# sourceMappingURL=Main.fd46f458.js.map
