import{P as g}from"./PlayerNavbar.f18eeb1c.js";import{d as f,e3 as b,e4 as c,f as h,g as y,r as k,K as v,u as a,c as w,F as L,a as C,b as I,o as i,Q as N}from"./index.e58852ef.js";import{u as V}from"./workspaceStore.4112777a.js";import"./userStore.5f160825.js";import"./metadata.b1a13720.js";import"./PhWebhooksLogo.vue.032e2615.js";import"./LoadingOutlined.929f7e51.js";import"./PhSignOut.vue.45e85a5a.js";import"./index.8ac41b0f.js";import"./Avatar.948e7d73.js";import"./runnerData.a134b113.js";import"./url.b6362cd6.js";import"./colorHelpers.27a5107f.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]="47ea163b-98b5-4cbb-8615-0a3147d67dbc",o._sentryDebugIdIdentifier="sentry-dbid-47ea163b-98b5-4cbb-8615-0a3147d67dbc")}catch{}})();const x={class:"main-container"},B={class:"content"},D=f({__name:"Main",setup(o){const e=b(),t=V(),d=c().path,n=h(null),u=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(g,{key:0,"current-path":a(d),"hide-login":_.value,"runner-data":a(t).state.workspace,loading:n.value,onNavigate:u,onLoginClick:l,onLogoutClick:p},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const A=N(D,[["__scopeId","data-v-f095bece"]]);export{A as default};
//# sourceMappingURL=Main.5924b852.js.map
