import{d as v,eA as h,H as k,b as t,eu as f,u as e,c as s,ew as w,e as C,w as n,ev as x,bf as I,aq as u,aC as D,eC as N,f as c,eE as T,v as B}from"./outputWidgets.e9677800.js";import{g as F}from"./api.787503df.js";import{a as H}from"./asyncComputed.37b7af98.js";import{P as V}from"./PlayerNavbar.b88282dc.js";import{F as z}from"./PhArrowSquareOut.vue.b47e902f.js";import"./index.57a332d5.js";import"./index.e9e27808.js";import{A as _}from"./index.42279d35.js";import{T as y}from"./Typography.511f4fec.js";import{C as A}from"./Card.32e01a00.js";import"./runnerData.11ae4383.js";import"./url.89c6b244.js";import"./index.3c41cd1a.js";import"./pubsub.9e36d89a.js";import"./repository.0c41f07e.js";import"./ArrowRightOutlined.08fa31dd.js";import"./Base.64d54b8f.js";import"./Link.29d21673.js";import"./Paragraph.394702f6.js";import"./Text.fd9e90fd.js";import"./Title.c954a24a.js";import"./TabPane.d21194be.js";import"./hasIn.bd3f78ff.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]="af2f82fa-c996-4382-8af0-98786934ad71",a._sentryDebugIdIdentifier="sentry-dbid-af2f82fa-c996-4382-8af0-98786934ad71")}catch{}})();const E={class:"page"},S=v({__name:"Home",setup(a){const i=h(),{result:r,loading:g}=H(F),m=k(()=>{var o,d;return(d=(o=r.value)==null?void 0:o.sidebar.filter(p=>p.visible))!=null?d:[]}),b=o=>{i.push({path:`/${o}`})};return(o,d)=>{var p;return t(),f("div",E,[e(r)?(t(),s(V,{key:0,"runner-data":e(r),"hide-sidebar":""},null,8,["runner-data"])):w("",!0),C("div",{class:"container",style:x({backgroundColor:(p=e(r))==null?void 0:p.theme})},[e(g)?(t(),s(e(I),{key:0})):m.value.length===0?(t(),s(e(y),{key:1,type:"secondary",style:{"font-size":"18px"}},{default:n(()=>[u(" There are no public forms available ")]),_:1})):(t(),s(e(_),{key:2,vertical:"",gap:"large",style:{padding:"120px 0"}},{default:n(()=>[(t(!0),f(D,null,N(m.value,l=>(t(),s(e(A),{key:l.id,class:"form-card",onClick:P=>b(l.path)},{default:n(()=>[c(e(_),{gap:"large",align:"center",justify:"space-between"},{default:n(()=>[c(e(y),{style:{"font-size":"18px","font-weight":"500"}},{default:n(()=>[u(T(l.name),1)]),_:2},1024),c(e(z),{color:"#000",width:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}))],4)])}}});const ie=B(S,[["__scopeId","data-v-d7035593"]]);export{ie as default};
//# sourceMappingURL=Home.6797fe77.js.map
