import{P as m}from"./PlayerNavbar.11ec1844.js";import{d as g,e5 as b,eb as c,r as h,c as y,i 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.d4517a10.js";import{u as V}from"./workspaceStore.6244d03d.js";import"./userStore.31024da3.js";import"./metadata.c3aed6e1.js";import"./PhUserList.vue.6a29f16d.js";import"./PhWebhooksLogo.vue.5e772aac.js";import"./LoadingOutlined.9e949112.js";import"./PhSignOut.vue.a271f14b.js";import"./index.c34a405a.js";import"./url.e8732f77.js";import"./colorHelpers.37d9932b.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]="b3bfa55c-9b88-4b07-ac7b-9f496feaa2a2",o._sentryDebugIdIdentifier="sentry-dbid-b3bfa55c-9b88-4b07-ac7b-9f496feaa2a2")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=b(),t=V(),u=c().path,a=h(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"})},_=y(()=>!!c().meta.hideLogin);return(r,s)=>{const f=k("RouterView");return i(),v("div",x,[n(t).state.workspace?(i(),w(m,{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(f)])])}}});const G=N(D,[["__scopeId","data-v-f095bece"]]);export{G as default};
//# sourceMappingURL=Main.77b115f8.js.map
