import{P as g}from"./PlayerNavbar-Dn9REkEc.js";import{e as _,an as i,r as h,b as y,p as b,f as k,g as v,s as w,j as n,m as L,ab as C,ai as I,h as c,aO as N}from"./jwt-decode.esm-og2W_mys.js";import{u as V}from"./workspaceStore-B4xim6np.js";import"./userStore-TcL0Pw6I.js";import"./metadata-CaYBTvan.js";import"./PhMagnifyingGlass.vue-DnciAdl2.js";import"./PhWebhooksLogo.vue-CTgyFgt-.js";import"./LoadingOutlined-DaLTXg8d.js";import"./PhSignOut.vue-o3s0jLEA.js";import"./index-cU8xXDOD.js";import"./runnerData-DQlisCXz.js";import"./url-Di0QLUa5.js";import"./colorHelpers-BW0h5pOm.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]="ac4fd3d1-e94f-41d9-8dda-106ef3bccd75",o._sentryDebugIdIdentifier="sentry-dbid-ac4fd3d1-e94f-41d9-8dda-106ef3bccd75")}catch{}})();const B={class:"main-container"},D={class:"content"},R=_({__name:"Main",setup(o){const e=I(),t=V(),d=i().path,a=h(null),u=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},p=()=>{e.push({name:"playerLogin"})},l=()=>{e.push({name:"playerLogin"})},m=y(()=>!!i().meta.hideLogin);return(r,s)=>{const f=C("RouterView");return c(),b("div",B,[n(t).state.workspace?(c(),k(g,{key:0,"current-path":n(d),"hide-login":m.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:u,onLoginClick:l,onLogoutClick:p},null,8,["current-path","hide-login","runner-data","loading"])):v("",!0),w("section",D,[L(f)])])}}}),G=N(R,[["__scopeId","data-v-f095bece"]]);export{G as default};
//# sourceMappingURL=Main-CplmvsML.js.map
