import{P as f}from"./PlayerNavbar.29549bf3.js";import{d as g,e4 as b,ec as c,r as h,c as y,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.4aed0432.js";import{u as V}from"./workspaceStore.a95ba086.js";import"./userStore.6b52d148.js";import"./metadata.eedd477c.js";import"./PhWebhooksLogo.vue.317198c4.js";import"./LoadingOutlined.d8bf54e8.js";import"./PhSignOut.vue.79b6b9ad.js";import"./index.46be4ae3.js";import"./runnerData.72dae76e.js";import"./url.b192466e.js";import"./colorHelpers.1c38eab0.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]="099794d0-f68e-47be-b71c-8b8ebb878f30",o._sentryDebugIdIdentifier="sentry-dbid-099794d0-f68e-47be-b71c-8b8ebb878f30")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=b(),t=V(),u=c().path,n=h(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"})},_=y(()=>!!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.fe93a622.js.map
