import{P as m}from"./PlayerNavbar.9c85046d.js";import{d as g,eo as h,ea as i,e as y,f as b,r as k,o as c,Y as v,u as n,c as w,S as L,a as C,b as I,a0 as N}from"./index.3c5f59e1.js";import{u as V}from"./workspaceStore.d7d1ce9e.js";import"./metadata.b618e30d.js";import"./PhRobot.vue.78793be0.js";import"./PhWebhooksLogo.vue.f88fca5f.js";import"./LoadingOutlined.055a13a5.js";import"./PhSignOut.vue.f9e55056.js";import"./index.5b322011.js";import"./Avatar.6e70bc68.js";import"./url.900b2c7a.js";import"./colorHelpers.9aa601f7.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]="f30022a1-3973-448f-9ef7-590213ca0b30",o._sentryDebugIdIdentifier="sentry-dbid-f30022a1-3973-448f-9ef7-590213ca0b30")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),u=i().path,a=y(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"})},_=b(()=>!!i().meta.hideLogin);return(r,s)=>{const f=k("RouterView");return c(),v("div",x,[n(t).state.workspace?(c(),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 F=N(D,[["__scopeId","data-v-f095bece"]]);export{F as default};
//# sourceMappingURL=Main.146ee229.js.map
