import{P as g}from"./PlayerNavbar.890e7934.js";import{d as f,eH as h,e3 as c,f as b,g as y,r as k,o as i,K as v,u as a,c as w,F as L,a as C,b as I,Q as N}from"./index.56a4aa2e.js";import{u as V}from"./workspaceStore.00fd0aec.js";import"./userStore.31baf024.js";import"./metadata.ed52026a.js";import"./PhWebhooksLogo.vue.f3a45ccc.js";import"./LoadingOutlined.b6085be9.js";import"./PhSignOut.vue.7ca15e87.js";import"./index.18709242.js";import"./Avatar.1e25a656.js";import"./url.7ee1877f.js";import"./colorHelpers.21549eb9.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]="b338b9c6-da86-4378-bc13-7a1052379846",o._sentryDebugIdIdentifier="sentry-dbid-b338b9c6-da86-4378-bc13-7a1052379846")}catch{}})();const x={class:"main-container"},B={class:"content"},D=f({__name:"Main",setup(o){const e=h(),t=V(),u=c().path,n=b(null),d=async({path:r,id:s})=>{n.value=s,await e.push({path:`/${r}`}),n.value=null},l=()=>{e.push({name:"playerLogin"})},p=()=>{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(u),"hide-login":_.value,"runner-data":a(t).state.workspace,loading:n.value,onNavigate:d,onLoginClick:p,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const q=N(D,[["__scopeId","data-v-f095bece"]]);export{q as default};
//# sourceMappingURL=Main.d4f74b5f.js.map
