import{P as m}from"./PlayerNavbar.f2f66852.js";import{d as g,e5 as h,eb as c,r as b,c as y,m as k,a5 as v,u as a,a as w,h as L,e as C,f as I,o as i,_ as N}from"./jwt-decode.esm.d86c27e0.js";import{u as V}from"./workspaceStore.87f8dbc6.js";import"./userStore.f2537ff3.js";import"./metadata.18d0a278.js";import"./PhUserList.vue.abdd6da1.js";import"./PhWebhooksLogo.vue.00b65b2c.js";import"./LoadingOutlined.b607eff2.js";import"./PhSignOut.vue.61b63ec0.js";import"./index.0f357aec.js";import"./url.b31d406a.js";import"./colorHelpers.2a607581.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]="bafed753-c535-4bf2-90bc-0f8c416664f0",o._sentryDebugIdIdentifier="sentry-dbid-bafed753-c535-4bf2-90bc-0f8c416664f0")}catch{}})();const x={class:"main-container"},B={class:"content"},D=g({__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 f=k("RouterView");return i(),v("div",x,[a(t).state.workspace?(i(),w(m,{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(f)])])}}});const G=N(D,[["__scopeId","data-v-f095bece"]]);export{G as default};
//# sourceMappingURL=Main.7030ea1d.js.map
