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