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