import{k as x,r as a,d as n,h as g,j as s}from"./main-406.js";import{$ as j,h as k,g as b,d as h,D as u,E as w,s as E}from"./bi.394.85.js";import W from"./bi.738.248.js";import{W as F}from"./bi.771.743.js";import"./bi.46.744.js";function H({allIntegURL:i}){const{formID:r}=x(),[d,o]=a.useState({show:!1}),[c,m]=a.useState(!1),[t,f]=n(j),p=g(k),[e,l]=n(b);return s.jsxs("div",{style:{width:900},children:[s.jsx(h,{snack:d,setSnackbar:o}),t.triggered_entity!=="Webhook"?s.jsx(u,{setSnackbar:o}):s.jsx(w,{setSnackbar:o}),s.jsx("div",{className:"mt-3",children:s.jsx(W,{formID:r,formFields:p,webHooks:e,setWebHooks:l,setSnackbar:o})}),s.jsx(F,{edit:!0,saveConfig:()=>E({flow:t,setFlow:f,allIntegURL:i,conf:e,edit:1,setIsLoading:m,setSnackbar:o}),isLoading:c}),s.jsx("br",{})]})}export{H as default};
