import{P as h}from"./PlayerNavbar-CzUz1bof.js";import{e as _,ak as k,r as y,b,f as w,n as d,j as v,k as L,p as o,a4 as C,ag as I,g as s,aN as N}from"./jwt-decode.esm-Deqn1Ux5.js";import{u as P}from"./workspaceStore-BD3CXmHX.js";import"./userStore-OC9axl7X.js";import"./metadata-Y8UTj2yO.js";import"./PhCursorClick.vue-B9ZZeev5.js";import"./PhHouse.vue-DDjkigXs.js";import"./PhMagnifyingGlass.vue-D32sd6_i.js";import"./PhWebhooksLogo.vue-a_TPoSh3.js";import"./LoadingOutlined-CGY7Meij.js";import"./PhSignOut.vue-CRpT_Mbi.js";import"./index-CN7ciqgj.js";import"./runnerData-CnbGOZtt.js";import"./url-DyLJf7vL.js";import"./colorHelpers-COoxDMTZ.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]="99ad3651-f8c3-4f1a-99d9-752bdffa7585",t._sentryDebugIdIdentifier="sentry-dbid-99ad3651-f8c3-4f1a-99d9-752bdffa7585")}catch{}})();const B={class:"main-container"},D={class:"content"},R=_({__name:"Main",setup(t){const e=I(),a=k(),n=P(),u=a.path,r=y(null),p=async({path:i,id:c})=>{r.value=c,await e.push({path:`/${i}`}),r.value=null},l=()=>{e.push({name:"playerLogin"})},m=()=>{e.push({name:"playerLogin"})},f=b(()=>!!a.meta.hideLogin);return(i,c)=>{const g=C("RouterView");return s(),w("div",B,[o(n).state.workspace?(s(),d(h,{key:0,"current-path":o(u),"hide-login":f.value,"runner-data":o(n).state.workspace,loading:r.value,"show-sidebar":o(n).state.currentPageType==="form",onNavigate:p,onLoginClick:m,onLogoutClick:l},null,8,["current-path","hide-login","runner-data","loading","show-sidebar"])):v("",!0),L("section",D,[(s(),d(g,{key:o(a).fullPath}))])])}}}),J=N(R,[["__scopeId","data-v-ba04162e"]]);export{J as default};
//# sourceMappingURL=Main-B7jzSIqn.js.map
