import{g as u}from"./api.dd54e1b1.js";import{i as y}from"./metadata.e6d6431f.js";import{a as _}from"./asyncComputed.ce6d6eed.js";import{W as g}from"./WidgetsFrame.830e3752.js";import{F as h}from"./PhArrowSquareOut.vue.42622f6f.js";import{d as b,f7 as k,u as e,b as o,c as s,w as a,eX as w,cS as m,am as p,cY as l,eV as x,f2 as C,f as c,f3 as v,f4 as D,ay as F,E as I}from"./outputWidgets.bff33647.js";import"./index.679c1d21.js";import{C as V}from"./Card.3943e645.js";import"./index.6eea3de6.js";import"./fetch.ce6f0915.js";import"./pubsub.897f848f.js";import"./runnerData.e179cd6d.js";import"./url.9e111d9b.js";import"./PhCheckCircle.vue.2f5d1b32.js";import"./PhKanban.vue.c63adf86.js";import"./PhScroll.vue.7d357e12.js";import"./PhWebhooksLogo.vue.def0383a.js";import"./TabPane.0c295f83.js";import"./hasIn.edcda2a9.js";import"./PlusOutlined.cf52d035.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]="5e98d6d8-2279-447e-b273-fcded9bf5481",r._sentryDebugIdIdentifier="sentry-dbid-5e98d6d8-2279-447e-b273-fcded9bf5481")}catch{}})();const T=b({__name:"Home",setup(r){const n=k(),{result:t}=_(u),f=d=>{n.push({path:`/${d}`})};return(d,B)=>e(t)?(o(),s(g,{key:0,class:"home-container","main-color":e(t).mainColor,theme:e(t).theme,"font-family":e(t).fontFamily},{default:a(()=>[e(t).sidebar.length===0?(o(),s(e(m),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:a(()=>[p(" There is no public form available for you here. ")]),_:1})):(o(),s(e(l),{key:1,vertical:"",gap:"large",class:"cards-container"},{default:a(()=>[(o(!0),x(F,null,C(e(t).sidebar,i=>(o(),s(e(V),{key:i.id,class:"form-card",onClick:E=>f(i.path)},{default:a(()=>[c(e(l),{gap:"large",align:"center",justify:"space-between"},{default:a(()=>[(o(),s(v(e(y)(i.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),c(e(m),{style:{"font-size":"18px","font-weight":"500"}},{default:a(()=>[p(D(i.name),1)]),_:2},1024),c(e(h),{color:"#000",width:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}))]),_:1},8,["main-color","theme","font-family"])):w("",!0)}});const U=I(T,[["__scopeId","data-v-c6cd9407"]]);export{U as default};
//# sourceMappingURL=Home.efda224b.js.map
