import{d as g,eI as b,r as y,I as v,b as h,eu as k,f as m,u as t,v as w}from"./outputWidgets.b2f2adf2.js";import{g as I}from"./api.b6448f2c.js";import{a as p}from"./asyncComputed.0eb432f7.js";import{P as H}from"./PlayerNavbar.fc0d5a33.js";import{H as D}from"./HomeContent.8d0a0213.js";import{u as s}from"./index.27c0ea5f.js";import"./runnerData.f7a85f05.js";import"./url.de379c40.js";import"./PhKanban.vue.b5538c9a.js";import"./PhSignOut.vue.2ace8ff5.js";import"./Text.9554a64b.js";import"./index.eb1aefdf.js";import"./Link.326bc6ef.js";import"./Paragraph.038d3c4a.js";import"./Title.d1ce9cd1.js";import"./index.14c519b5.js";import"./PhArrowSquareOut.vue.c0b575b0.js";import"./index.588cb826.js";import"./Card.1ffebbef.js";import"./index.a64d1f80.js";import"./TabPane.27e1a36d.js";import"./hasIn.2f264b73.js";import"./index.c47b0dc1.js";import"./pubsub.56b36b75.js";import"./fetch.1fc8b3e7.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]="ae9641cc-1734-4928-ad27-8a701cc58be2",o._sentryDebugIdIdentifier="sentry-dbid-ae9641cc-1734-4928-ad27-8a701cc58be2")}catch{}})();const x={class:"page"},C=g({__name:"Home",setup(o){const e=b(),r=y(s.getUser()),{result:c,refetch:u}=p(async()=>(await s.allow("kanban")).status==="ALLOWED");v(r,()=>u());const l=({path:a})=>{e.push({name:"form",params:{path:a.split("/")}})},{result:n,loading:d}=p(I),f=a=>{e.push({path:`/${a}`})},_=()=>{s.removeUser(),e.push({name:"playerHome"})};return(a,L)=>{var i;return h(),k("div",x,[m(H,{"runner-data":t(n),"is-kanban-visible":t(c)||!1,"user-email":(i=r.value)==null?void 0:i.claims.email,onNavigate:l,onLogout:_},null,8,["runner-data","is-kanban-visible","user-email"]),m(D,{workspace:t(n),loading:t(d),onFormClick:f},null,8,["workspace","loading"])])}}});const ee=w(C,[["__scopeId","data-v-f12c98c4"]]);export{ee as default};
//# sourceMappingURL=Home.76cd8fbf.js.map
