import{P as g}from"./PlayerNavbar-D7ITQOqs.js";import{a as _,ag as i,r as h,c as b,k,b as y,e as v,n as w,u as n,h as L,a8 as C,af as I,f as c,aK as N}from"./jwt-decode.esm-Dw_OlTCW.js";import{u as V}from"./workspaceStore-CeNiHwH_.js";import"./userStore-4FpRPoeM.js";import"./metadata-vgMtKcWz.js";import"./PhMagnifyingGlass.vue-7kNaqZFQ.js";import"./PhWebhooksLogo.vue-BZ5oEMJy.js";import"./LoadingOutlined-Du0iiSbv.js";import"./PhSignOut.vue-DXIoBRl-.js";import"./index-CKBppVEa.js";import"./runnerData-DZ54UJZ3.js";import"./url-vGC2YsRB.js";import"./colorHelpers-Chvd75S3.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]="ca814bed-27bb-42d1-9a43-1d34c83d23fb",o._sentryDebugIdIdentifier="sentry-dbid-ca814bed-27bb-42d1-9a43-1d34c83d23fb")}catch{}})();const B={class:"main-container"},D={class:"content"},R=_({__name:"Main",setup(o){const e=I(),t=V(),d=i().path,a=h(null),u=async({path:r,id:s})=>{a.value=s,await e.push({path:`/${r}`}),a.value=null},p=()=>{e.push({name:"playerLogin"})},l=()=>{e.push({name:"playerLogin"})},m=b(()=>!!i().meta.hideLogin);return(r,s)=>{const f=C("RouterView");return c(),k("div",B,[n(t).state.workspace?(c(),y(g,{key:0,"current-path":n(d),"hide-login":m.value,"runner-data":n(t).state.workspace,loading:a.value,onNavigate:u,onLoginClick:l,onLogoutClick:p},null,8,["current-path","hide-login","runner-data","loading"])):v("",!0),w("section",D,[L(f)])])}}}),G=N(R,[["__scopeId","data-v-f095bece"]]);export{G as default};
//# sourceMappingURL=Main-BEbOTCZd.js.map
