import{g as _}from"./api.fed40c5d.js";import{W as g}from"./Watermark.f55a225f.js";import{i as h}from"./metadata.e61929fd.js";import{a as b}from"./asyncComputed.c6a51599.js";import{W as k}from"./WidgetsFrame.002b9951.js";import{F as w}from"./PhArrowSquareOut.vue.51dee3b0.js";import{d as x,eJ as v,K as C,u as e,b as s,c as m,w as a,ew as D,f as n,cN as d,ar as f,eu as F,eE as I,cV as u,eF as V,eG as W,aD as N,S as T}from"./vue-router.67809441.js";import"./index.6fc5c4b2.js";import{C as z}from"./Card.722a13de.js";import"./router.142fcc1c.js";import"./runnerData.5c6d9896.js";import"./url.bf0f022f.js";import"./PhCheckCircle.vue.cf3f2492.js";import"./PhKanban.vue.d680969f.js";import"./PhScroll.vue.505180b1.js";import"./PhWebhooksLogo.vue.bae5126c.js";import"./TabPane.f0c2dc5c.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[c]="0f5cb028-c1ec-4bbe-8870-652cc48f929e",o._sentryDebugIdIdentifier="sentry-dbid-0f5cb028-c1ec-4bbe-8870-652cc48f929e")}catch{}})();const B=x({__name:"Home",setup(o){const c=v(),{result:t}=b(_),p=C(()=>{var r;return((r=t.value)==null?void 0:r.sidebar.filter(l=>l.id!=="home"))||[]}),y=r=>{c.push({path:`/${r}`})};return(r,l)=>e(t)?(s(),m(k,{key:0,class:"home-container","main-color":e(t).mainColor,theme:e(t).theme,"font-family":e(t).fontFamily},{default:a(()=>[n(e(u),{vertical:"",gap:"large",class:"cards-container"},{default:a(()=>[p.value.length===0?(s(),m(e(d),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:a(()=>[f(" There are no forms available for you. ")]),_:1})):(s(!0),F(N,{key:1},I(p.value,i=>(s(),m(e(z),{key:i.id,class:"form-card",onClick:E=>y(i.path)},{default:a(()=>[n(e(u),{gap:"large",align:"center",justify:"space-between"},{default:a(()=>[(s(),m(V(e(h)(i.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),n(e(d),{style:{"font-size":"18px","font-weight":"500"}},{default:a(()=>[f(W(i.name),1)]),_:2},1024),n(e(w),{size:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}),n(g,{class:"watermark","page-id":"home"})]),_:1},8,["main-color","theme","font-family"])):D("",!0)}});const Y=T(B,[["__scopeId","data-v-c7d28f54"]]);export{Y as default};
//# sourceMappingURL=Home.7f648def.js.map
