import{P as f}from"./PlayerNavbar.9e4093c2.js";import{d as g,e3 as h,e4 as i,f as y,g as b,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.46377be8.js";import{u as V}from"./workspaceStore.8f060237.js";import"./userStore.f42f02ab.js";import"./metadata.36983e80.js";import"./PhWebhooksLogo.vue.01c2bd28.js";import"./LoadingOutlined.8f60b0fd.js";import"./PhSignOut.vue.eec381c7.js";import"./index.f912a57f.js";import"./Avatar.8adae0a0.js";import"./runnerData.5c45cdc1.js";import"./url.ad55f26c.js";import"./colorHelpers.eff3b20c.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]="b5081568-7972-468d-98be-dc643f913811",o._sentryDebugIdIdentifier="sentry-dbid-b5081568-7972-468d-98be-dc643f913811")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__name:"Main",setup(o){const e=h(),t=V(),d=i().path,n=y(null),u=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"})},_=b(()=>!!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: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.42565284.js.map
