import{P as f}from"./PlayerNavbar.c678e1d0.js";import{d as g,eo as b,ea 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.9f6b07f8.js";import{u as V}from"./workspaceStore.ead640bd.js";import"./metadata.e338a600.js";import"./PhWebhooksLogo.vue.e526c012.js";import"./LoadingOutlined.c8104dee.js";import"./PhSignOut.vue.6cf5b58d.js";import"./index.081e52e0.js";import"./Avatar.48fa4815.js";import"./url.1a36d266.js";import"./colorHelpers.990caed0.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]="5b986c63-546b-4476-9e8c-68ac7db96aeb",o._sentryDebugIdIdentifier="sentry-dbid-5b986c63-546b-4476-9e8c-68ac7db96aeb")}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:s,id:r})=>{a.value=r,await e.push({path:`/${s}`}),a.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{e.push({name:"playerLogin"})},_=y(()=>!!c().meta.hideLogin);return(s,r)=>{const m=k("RouterView");return i(),v("div",x,[n(t).state.workspace?(i(),w(f,{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(m)])])}}});const A=N(D,[["__scopeId","data-v-f095bece"]]);export{A as default};
//# sourceMappingURL=Main.624c0341.js.map
