import{P as f}from"./PlayerNavbar.91b34e91.js";import{d as g,eo as b,ea as i,e as h,f as y,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.494ee3d6.js";import{u as V}from"./workspaceStore.491df49c.js";import"./metadata.d5f5aa97.js";import"./PhBug.vue.9b0ea9e0.js";import"./PhCheckCircle.vue.bad40449.js";import"./PhKanban.vue.6d518899.js";import"./PhWebhooksLogo.vue.05a9f9e1.js";import"./LoadingOutlined.4f34e0e6.js";import"./PhSignOut.vue.f8e43c8f.js";import"./index.23041665.js";import"./Avatar.337befad.js";import"./url.d7450408.js";import"./colorHelpers.417ae040.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]="b13758a9-c331-4bc3-90ab-e0156190b29f",o._sentryDebugIdIdentifier="sentry-dbid-b13758a9-c331-4bc3-90ab-e0156190b29f")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=b(),t=V(),u=i().path,a=h(null),p=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},d=()=>{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,[n(t).state.workspace?(c(),w(f,{key:0,"current-path":n(u),"hide-login":_.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:p,onLoginClick:l,onLogoutClick:d},null,8,["current-path","hide-login","runner-data","loading"])):L("",!0),C("section",B,[I(m)])])}}});const H=N(D,[["__scopeId","data-v-f095bece"]]);export{H as default};
//# sourceMappingURL=Main.4cf60970.js.map
