import{g as h}from"./api.804e2c24.js";import{a as k}from"./asyncComputed.cd8e83d5.js";import{F as w}from"./PhArrowSquareOut.vue.4c039380.js";import{d as v,eK as x,J as C,b as t,ew as u,u as e,c as i,w as r,ex as F,bh as I,as as f,aE as D,eF as H,f as c,eH as T,x as z}from"./outputWidgets.e32c4de9.js";import"./index.6a52a1e2.js";import"./index.60b72636.js";import{A as _}from"./index.66b88b11.js";import{a as y}from"./Base.583225bc.js";import{C as B}from"./Card.729aeeb4.js";import"./index.c3315fab.js";import"./fetch.c8ae2d51.js";import"./pubsub.574e50fa.js";import"./runnerData.9bc53e5d.js";import"./url.b82290c2.js";import"./Link.b760dec6.js";import"./Paragraph.27861c63.js";import"./Text.81365b40.js";import"./Title.e20804f9.js";import"./TabPane.e82bc195.js";import"./hasIn.e17bd528.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[s]="db56ba99-9e47-42da-93fd-b74e20549991",o._sentryDebugIdIdentifier="sentry-dbid-db56ba99-9e47-42da-93fd-b74e20549991")}catch{}})();const E=v({__name:"Home",setup(o){const s=x(),{result:p,loading:g}=k(h),m=C(()=>{var a,l;return(l=(a=p.value)==null?void 0:a.sidebar.filter(n=>n.visible))!=null?l:[]}),b=a=>{s.push({path:`/${a}`})};return(a,l)=>{var n;return t(),u("div",{class:"container",style:F({backgroundColor:(n=e(p))==null?void 0:n.theme})},[e(g)?(t(),i(e(I),{key:0})):m.value.length===0?(t(),i(e(y),{key:1,type:"secondary",style:{"font-size":"18px"}},{default:r(()=>[f(" There are no public forms available ")]),_:1})):(t(),i(e(_),{key:2,vertical:"",gap:"large",style:{padding:"120px 0"}},{default:r(()=>[(t(!0),u(D,null,H(m.value,d=>(t(),i(e(B),{key:d.id,class:"form-card",onClick:S=>b(d.path)},{default:r(()=>[c(e(_),{gap:"large",align:"center",justify:"space-between"},{default:r(()=>[c(e(y),{style:{"font-size":"18px","font-weight":"500"}},{default:r(()=>[f(T(d.name),1)]),_:2},1024),c(e(w),{color:"#000",width:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}))],4)}}});const ee=z(E,[["__scopeId","data-v-420f3514"]]);export{ee as default};
//# sourceMappingURL=Home.0835d937.js.map
