import{P as m}from"./PlayerNavbar.f62c1ddf.js";import{d as g,eH as b,ef as c,e as h,f as y,r as k,o as i,Y as v,u as n,c as w,S as L,a as C,b as I,a0 as N}from"./index.a95f3dfe.js";import{u as V}from"./workspaceStore.2ea22595.js";import"./metadata.d217de12.js";import"./PhRobot.vue.1a24ea75.js";import"./PhWebhooksLogo.vue.3b3d46e9.js";import"./LoadingOutlined.03d94d2b.js";import"./PhSignOut.vue.324f0dcb.js";import"./index.90365c8b.js";import"./Avatar.86cfe116.js";import"./url.a3a3492f.js";import"./colorHelpers.4faf9736.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="1ea36bab-2dfa-4cb8-9af7-aa2bcaa9f191",a._sentryDebugIdIdentifier="sentry-dbid-1ea36bab-2dfa-4cb8-9af7-aa2bcaa9f191")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(a){const e=b(),o=V(),u=c().path,t=h(null),d=async({path:r,id:s})=>{t.value=s,await e.push({path:`/${r}`}),t.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(o).state.workspace?(i(),w(m,{key:0,"current-path":n(u),"hide-login":_.value,"runner-data":n(o).state.workspace,loading:t.value,onNavigate:d,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(f)])])}}});const A=N(D,[["__scopeId","data-v-f095bece"]]);export{A as default};
//# sourceMappingURL=Main.fe6332d9.js.map
