import{g as _}from"./api.3543962f.js";import{W as g}from"./Watermark.9f953fff.js";import{i as h}from"./metadata.33f78358.js";import{a as b}from"./asyncComputed.7ed124a4.js";import{W as k}from"./WidgetsFrame.fad455f0.js";import{F as w}from"./PhArrowSquareOut.vue.880000c0.js";import{d as x,f7 as v,y as C,u as e,b as s,c as m,w as o,eX as D,f as n,cS as f,am as d,eV as F,f2 as I,cY as u,f3 as V,f4 as W,ay as T,E as B}from"./outputWidgets.fb72f334.js";import"./index.98dbd35d.js";import{C as E}from"./Card.4eb2c6ac.js";import"./index.e752db4c.js";import"./fetch.019a6448.js";import"./pubsub.b6388b69.js";import"./runnerData.aad08e2c.js";import"./url.14a615f7.js";import"./PhCheckCircle.vue.74dac16e.js";import"./PhKanban.vue.6c573e74.js";import"./PhScroll.vue.17174b09.js";import"./PhWebhooksLogo.vue.606ade3b.js";import"./TabPane.ec6e6a9e.js";import"./hasIn.ebbb1eda.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},c=new Error().stack;c&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[c]="4735637d-2c45-42cc-bfc0-0bc3b2764f35",a._sentryDebugIdIdentifier="sentry-dbid-4735637d-2c45-42cc-bfc0-0bc3b2764f35")}catch{}})();const H=x({__name:"Home",setup(a){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:o(()=>[n(e(u),{vertical:"",gap:"large",class:"cards-container"},{default:o(()=>[p.value.length===0?(s(),m(e(f),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:o(()=>[d(" There are no forms available for you. ")]),_:1})):(s(!0),F(T,{key:1},I(p.value,i=>(s(),m(e(E),{key:i.id,class:"form-card",onClick:N=>y(i.path)},{default:o(()=>[n(e(u),{gap:"large",align:"center",justify:"space-between"},{default:o(()=>[(s(),m(V(e(h)(i.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),n(e(f),{style:{"font-size":"18px","font-weight":"500"}},{default:o(()=>[d(W(i.name),1)]),_:2},1024),n(e(w),{color:"#000",width:"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 te=B(H,[["__scopeId","data-v-cc9901be"]]);export{te as default};
//# sourceMappingURL=Home.9af450a3.js.map
