import{P as f}from"./PlayerNavbar.24544fa8.js";import{d as g,e5 as h,eb as c,r as b,c as y,m as k,a5 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.28320b05.js";import{u as V}from"./workspaceStore.20104d6a.js";import"./userStore.c0562f9d.js";import"./index.b0181193.js";import"./metadata.8c8d4b20.js";import"./PhUserList.vue.38f46bf2.js";import"./PhWebhooksLogo.vue.3f80aef6.js";import"./LoadingOutlined.6ed83a08.js";import"./PhSignOut.vue.3cb7cd40.js";import"./index.36aedb48.js";import"./url.e7d14364.js";import"./colorHelpers.f396fe13.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]="bf305e73-69bc-4466-be6c-dea8690cc168",o._sentryDebugIdIdentifier="sentry-dbid-bf305e73-69bc-4466-be6c-dea8690cc168")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),u=c().path,n=b(null),d=async({path:r,id:s})=>{n.value=s,await e.push({path:`/${r}`}),n.value=null},p=()=>{e.push({name:"playerLogin"})},l=()=>{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:l,onLogoutClick:p},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const H=N(D,[["__scopeId","data-v-f095bece"]]);export{H as default};
//# sourceMappingURL=Main.738990b8.js.map
