import{g as h}from"./api.8af45e0e.js";import{a as k}from"./asyncComputed.104c37b3.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 d,eD as H,I as V,v as z}from"./outputWidgets.8b20995a.js";import{e as A}from"./icons.30a80c64.js";import{P as F}from"./PlayerNavbar.401a9394.js";import"./index.6d3ac1f9.js";import"./index.12194a32.js";import{A as y}from"./index.c64b5cfb.js";import{T as b}from"./Typography.6cf692ad.js";import{C as S}from"./Card.44e6c996.js";import"./runnerData.0c812100.js";import"./url.04271d83.js";import"./Base.ef3b1df1.js";import"./Link.a251dd4c.js";import"./Paragraph.6dd647eb.js";import"./Text.4fb368ba.js";import"./Title.eb542f4b.js";import"./TabPane.263644d1.js";import"./hasIn.870d8e4a.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]="c5cae655-b625-49ea-a092-0356ebb31423",a._sentryDebugIdIdentifier="sentry-dbid-c5cae655-b625-49ea-a092-0356ebb31423")}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,c=>(t(),s(e(S),{key:c.id,class:"form-card",onClick:L=>v(c.path)},{default:n(()=>[d(e(y),{gap:"large",align:"center",justify:"space-between"},{default:n(()=>[d(e(b),{style:{"font-size":"18px","font-weight":"500"}},{default:n(()=>[f(H(c.name),1)]),_:2},1024),d(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-f092b232"]]);export{re as default};
//# sourceMappingURL=Home.64152e01.js.map
