import{P as f}from"./PlayerNavbar.2734926a.js";import{d as g,e3 as h,e4 as i,f as b,g as y,r as k,K as v,u as a,c as w,F as L,a as C,b as I,o as c,Q as N}from"./index.1da01ec4.js";import{u as V}from"./workspaceStore.baf18d3b.js";import"./userStore.ec835d25.js";import"./metadata.20f47b4e.js";import"./PhWebhooksLogo.vue.4fa518ce.js";import"./LoadingOutlined.0ed0b4f9.js";import"./PhSignOut.vue.eef7e4b7.js";import"./index.3488ad09.js";import"./Avatar.ecfce0bd.js";import"./runnerData.975fa800.js";import"./url.8f466486.js";import"./colorHelpers.14704dc2.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]="2bb0f957-8238-4b41-978d-783198a75826",o._sentryDebugIdIdentifier="sentry-dbid-2bb0f957-8238-4b41-978d-783198a75826")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),u=i().path,n=b(null),d=async({path:r,id:s})=>{n.value=s,await e.push({path:`/${r}`}),n.value=null},p=()=>{e.push({name:"playerLogin"})},l=()=>{e.push({name:"playerLogin"})},_=y(()=>!!i().meta.hideLogin);return(r,s)=>{const m=k("RouterView");return c(),v("div",x,[a(t).state.workspace?(c(),w(f,{key:0,"current-path":a(u),"hide-login":_.value,"runner-data":a(t).state.workspace,loading:n.value,onNavigate:d,onLoginClick:l,onLogoutClick:p},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.10b42d89.js.map
