import{g as _}from"./api.5b11a254.js";import{i as g}from"./metadata.1afbebf6.js";import{a as h}from"./asyncComputed.a50f21d4.js";import{W as b}from"./WidgetsFrame.26556590.js";import{F as k}from"./PhArrowSquareOut.vue.93f36f8d.js";import{d as w,eM as x,D as v,u as e,b as o,c as i,w as r,eA as C,au as d,ey as D,eH as F,f as l,eI as I,eJ as H,aG as T,E as V}from"./outputWidgets.7323a17d.js";import"./index.19a2d600.js";import{A as f}from"./index.42443749.js";import"./index.ce5979ac.js";import{a as u}from"./Base.003f7172.js";import{C as A}from"./Card.9a50e2cc.js";import"./index.78b9d0ca.js";import"./fetch.787e046c.js";import"./pubsub.2c3883f4.js";import"./runnerData.e86765fc.js";import"./url.50c4a8f0.js";import"./PhCheckCircle.vue.33fdfcd3.js";import"./PhKanban.vue.96ef4436.js";import"./PhScroll.vue.c26d3c62.js";import"./PhWebhooksLogo.vue.5a5aacec.js";import"./Link.21b53365.js";import"./Paragraph.1e67eefb.js";import"./Text.a0b69008.js";import"./Title.88a7d0e4.js";import"./TabPane.b8745f51.js";import"./hasIn.adc00278.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="e526123b-3321-4729-b1ff-ca12eb6182a2",a._sentryDebugIdIdentifier="sentry-dbid-e526123b-3321-4729-b1ff-ca12eb6182a2")}catch{}})();const B=w({__name:"Home",setup(a){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:r(()=>[c.value.length===0?(o(),i(e(u),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:r(()=>[d(" There is no public form available for you here. ")]),_:1})):(o(),i(e(f),{key:1,vertical:"",gap:"large",class:"cards-container"},{default:r(()=>[(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:r(()=>[l(e(f),{gap:"large",align:"center",justify:"space-between"},{default:r(()=>[(o(),i(I(e(g)(m.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),l(e(u),{style:{"font-size":"18px","font-weight":"500"}},{default:r(()=>[d(H(m.name),1)]),_:2},1024),l(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.e800b1a8.js.map
