import{P as f}from"./PlayerNavbar.4a202d70.js";import{d as g,e4 as h,ec as c,r as y,c as k,m as v,a4 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.9a8c48e0.js";import{u as V}from"./workspaceStore.b955b0a2.js";import"./userStore.1333dd7d.js";import"./metadata.69ce782f.js";import"./PhWebhooksLogo.vue.8c592609.js";import"./LoadingOutlined.f0297679.js";import"./PhSignOut.vue.2724085b.js";import"./index.c53d2252.js";import"./runnerData.135ba9ac.js";import"./url.143ffc6e.js";import"./colorHelpers.cae3a29f.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]="5fc6ead5-83dd-4c74-ac43-547d063533d0",o._sentryDebugIdIdentifier="sentry-dbid-5fc6ead5-83dd-4c74-ac43-547d063533d0")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),d=c().path,a=y(null),u=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"})},_=k(()=>!!c().meta.hideLogin);return(r,s)=>{const m=v("RouterView");return i(),w("div",x,[n(t).state.workspace?(i(),b(f,{key:0,"current-path":n(d),"hide-login":_.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:u,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.16e4f119.js.map
