import{P as f}from"./PlayerNavbar.8a0bbb8a.js";import{d as g,eo as h,ea as c,e as y,f as k,r as v,o as i,Y as b,u as a,c as w,S as L,a as C,b as I,a0 as N}from"./index.d4880c83.js";import{u as V}from"./workspaceStore.8cbda076.js";import"./metadata.67ea2850.js";import"./PhWebhooksLogo.vue.3446eab7.js";import"./LoadingOutlined.9d36199e.js";import"./PhSignOut.vue.c2ac3c85.js";import"./index.80be27e7.js";import"./Avatar.abd66593.js";import"./url.d026de0f.js";import"./colorHelpers.b67812ee.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]="8c75c440-11d0-49ce-88f2-f3e0e7d588a2",o._sentryDebugIdIdentifier="sentry-dbid-8c75c440-11d0-49ce-88f2-f3e0e7d588a2")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),d=c().path,n=y(null),u=async({path:s,id:r})=>{n.value=r,await e.push({path:`/${s}`}),n.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=k(()=>!!c().meta.hideLogin);return(s,r)=>{const m=v("RouterView");return i(),b("div",x,[a(t).state.workspace?(i(),w(f,{key:0,"current-path":a(d),"hide-login":_.value,"runner-data":a(t).state.workspace,loading:n.value,onNavigate:u,onLoginClick:p,onLogoutClick:l},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.c5618ac7.js.map
