import{g as _}from"./api.e55a1f3c.js";import{i as g}from"./metadata.7f9a5698.js";import{a as h}from"./asyncComputed.2210bd1a.js";import{W as b}from"./WidgetsFrame.0d60536e.js";import{F as k}from"./PhArrowSquareOut.vue.4e3beb6a.js";import{d as w,eM as x,D as v,u as e,b as o,c as i,w as a,eA as C,au as l,ey as D,eH as F,f as d,eI as I,eJ as H,aG as T,E as V}from"./outputWidgets.e5f9ffc6.js";import"./index.ff6bc189.js";import{A as f}from"./index.2570caf9.js";import"./index.179bbcb6.js";import{a as u}from"./Base.d0d329e2.js";import{C as A}from"./Card.a9237487.js";import"./index.4303c11c.js";import"./fetch.c1359dac.js";import"./pubsub.75396d00.js";import"./runnerData.f991c68f.js";import"./url.c11ddd9f.js";import"./PhCheckCircle.vue.49339ca8.js";import"./PhKanban.vue.ba4b0cc6.js";import"./PhScroll.vue.608452d0.js";import"./PhWebhooksLogo.vue.86d4c921.js";import"./Link.1d347d21.js";import"./Paragraph.1cbc8077.js";import"./Text.e6c27a3b.js";import"./Title.f988141d.js";import"./TabPane.b891a337.js";import"./hasIn.54609e4a.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[n]="1f5caa4d-684a-4d6d-8610-52c11dd9b14b",r._sentryDebugIdIdentifier="sentry-dbid-1f5caa4d-684a-4d6d-8610-52c11dd9b14b")}catch{}})();const B=w({__name:"Home",setup(r){const n=x(),{result:t}=h(_),c=v(()=>{var s,p;return(p=(s=t.value)==null?void 0:s.sidebar)!=null?p:[]}),y=s=>{n.push({path:`/${s}`})};return(s,p)=>e(t)?(o(),i(b,{key:0,class:"runner","main-color":e(t).mainColor,theme:e(t).theme,"font-family":e(t).fontFamily},{default:a(()=>[c.value.length===0?(o(),i(e(u),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:a(()=>[l(" There is no public form available for you here. ")]),_:1})):(o(),i(e(f),{key:1,vertical:"",gap:"large",class:"cards-container"},{default:a(()=>[(o(!0),D(T,null,F(c.value,m=>(o(),i(e(A),{key:m.id,class:"form-card",onClick:E=>y(m.path)},{default:a(()=>[d(e(f),{gap:"large",align:"center",justify:"space-between"},{default:a(()=>[(o(),i(I(e(g)(m.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),d(e(u),{style:{"font-size":"18px","font-weight":"500"}},{default:a(()=>[l(H(m.name),1)]),_:2},1024),d(e(k),{color:"#000",width:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}))]),_:1},8,["main-color","theme","font-family"])):C("",!0)}});const ie=V(B,[["__scopeId","data-v-7d0e0e50"]]);export{ie as default};
//# sourceMappingURL=Home.a03dc386.js.map
