import{g as h}from"./api.434dbffd.js";import{a as k}from"./asyncComputed.b5c1c387.js";import{d as x,eA as w,H as C,b as t,ev as u,u as e,c as s,ex as _,e as I,w as n,ew as D,bv as B,ar as f,a$ as N,eC as T,f as c,eD as H,I as V,v as z}from"./outputWidgets.af28e799.js";import{e as A}from"./icons.f637ef04.js";import{P as F}from"./PlayerNavbar.79167a94.js";import"./index.2320518f.js";import"./index.d4e95363.js";import{A as y}from"./index.4fe7f349.js";import{T as b}from"./Typography.9914ebec.js";import{C as S}from"./Card.649b9bca.js";import"./runnerData.524c4a4f.js";import"./url.5810758c.js";import"./Base.9fc088e8.js";import"./Link.e2fbc10a.js";import"./Paragraph.3b796a14.js";import"./Text.abf96dfc.js";import"./Title.f1c7fcfe.js";import"./TabPane.1610b215.js";import"./hasIn.b3665b9b.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="3b7514e7-d81a-4941-aab1-10ce0fb1a9e7",a._sentryDebugIdIdentifier="sentry-dbid-3b7514e7-d81a-4941-aab1-10ce0fb1a9e7")}catch{}})();const $={class:"page"},E=x({__name:"Home",setup(a){const i=w(),{result:o,loading:g}=k(h),m=C(()=>{var r,p;return(p=(r=o.value)==null?void 0:r.sidebar.filter(l=>l.visible))!=null?p:[]}),v=r=>{i.push({path:`/${r}`})};return(r,p)=>{var l;return t(),u("div",$,[e(o)?(t(),s(F,{key:0,runtime:e(o),"hide-sidebar":""},null,8,["runtime"])):_("",!0),I("div",{class:"container",style:D({backgroundColor:(l=e(o))==null?void 0:l.theme})},[e(g)?(t(),s(e(B),{key:0})):m.value.length===0?(t(),s(e(b),{key:1,type:"secondary",style:{"font-size":"18px"}},{default:n(()=>[f(" There are no public forms available ")]),_:1})):(t(),s(e(y),{key:2,vertical:"",gap:"large",style:{padding:"120px 0"}},{default:n(()=>[(t(!0),u(N,null,T(m.value,d=>(t(),s(e(S),{key:d.id,class:"form-card",onClick:L=>v(d.path)},{default:n(()=>[c(e(y),{gap:"large",align:"center",justify:"space-between"},{default:n(()=>[c(e(b),{style:{"font-size":"18px","font-weight":"500"}},{default:n(()=>[f(H(d.name),1)]),_:2},1024),c(V,{path:e(A),fill:"#000",width:"20"},null,8,["path"])]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})),_("",!0)],4)])}}});const re=z(E,[["__scopeId","data-v-020be72e"]]);export{re as default};
//# sourceMappingURL=Home.3f3c897f.js.map
