import{P as f}from"./PlayerNavbar.d5a4a900.js";import{d as g,eH as b,e3 as i,f as h,g as y,r as k,o as c,K as v,u as a,c as w,F as L,a as C,b as I,Q as N}from"./index.f15cb536.js";import{u as V}from"./workspaceStore.4333a685.js";import"./userStore.8dc60551.js";import"./metadata.eb597bf1.js";import"./PhWebhooksLogo.vue.64dadcf0.js";import"./LoadingOutlined.69562f00.js";import"./PhSignOut.vue.dffc9191.js";import"./index.b7deb463.js";import"./Avatar.368279c6.js";import"./url.005bba68.js";import"./colorHelpers.f4fce95c.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]="05c19018-b9ed-40bd-b9f7-08793843ba71",o._sentryDebugIdIdentifier="sentry-dbid-05c19018-b9ed-40bd-b9f7-08793843ba71")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=b(),t=V(),d=i().path,n=h(null),u=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(()=>!!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(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 q=N(D,[["__scopeId","data-v-f095bece"]]);export{q as default};
//# sourceMappingURL=Main.4467cd41.js.map
