import{P as h}from"./PlayerNavbar-B4upZTEH.js";import{e as _,aj as b,r as y,b as k,f as w,n as u,j as v,k as L,p as o,a2 as C,ae as I,g as s,aM as N}from"./jwt-decode.esm-pcElS94V.js";import{u as P}from"./workspaceStore-IKAvbaKP.js";import"./userStore-B9UaE8Ok.js";import"./metadata-B4U8i-gy.js";import"./PhCursorClick.vue-C4F63Y-o.js";import"./PhHouse.vue-CV7puQjg.js";import"./PhMagnifyingGlass.vue-C6-8Zr4v.js";import"./PhWebhooksLogo.vue-76JUG_AC.js";import"./LoadingOutlined-BxyNx-W6.js";import"./PhSignOut.vue-BDuTiVTY.js";import"./index-DC6Iwhe9.js";import"./runnerData-DvWvGyMy.js";import"./url-CM9ndq0C.js";import"./colorHelpers-BWT6AENL.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="ef4571e6-9e0f-459b-9b2f-992fa8214f5f",t._sentryDebugIdIdentifier="sentry-dbid-ef4571e6-9e0f-459b-9b2f-992fa8214f5f")}catch{}})();const B={class:"main-container"},D={class:"content"},R=_({__name:"Main",setup(t){const e=I(),a=b(),n=P(),p=a.path,r=y(null),l=async({path:i,id:c})=>{r.value=c,await e.push({path:`/${i}`}),r.value=null},d=()=>{e.push({name:"playerLogin"})},f=()=>{e.push({name:"playerLogin"})},m=k(()=>!!a.meta.hideLogin);return(i,c)=>{const g=C("RouterView");return s(),w("div",B,[o(n).state.workspace?(s(),u(h,{key:0,"current-path":o(p),"hide-login":m.value,"runner-data":o(n).state.workspace,loading:r.value,"show-sidebar":o(n).state.currentPageType==="form",onNavigate:l,onLoginClick:f,onLogoutClick:d},null,8,["current-path","hide-login","runner-data","loading","show-sidebar"])):v("",!0),L("section",D,[(s(),u(g,{key:o(a).fullPath}))])])}}}),J=N(R,[["__scopeId","data-v-ba04162e"]]);export{J as default};
//# sourceMappingURL=Main-DuntILOo.js.map
