import{k as g,r as a,d as n,h as j,j as s}from"./main-406.js";import{$ as k,h as p,g as b,d as h,D as u,E as w,s as F}from"./bi.394.85.js";import I from"./bi.738.248.js";import{W as v}from"./bi.771.743.js";import"./bi.46.744.js";function $({allIntegURL:i}){const{formID:r}=g(),[d,o]=a.useState({show:!1}),[c,m]=a.useState(!1),[t,f]=n(k),l=j(p),[e,x]=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(I,{formID:r,formFields:l,webHooks:e,setWebHooks:x,setSnackbar:o})}),s.jsx(v,{edit:!0,saveConfig:()=>F({flow:t,setFlow:f,allIntegURL:i,conf:e,edit:1,setIsLoading:m,setSnackbar:o}),isLoading:c}),s.jsx("br",{})]})}export{$ as default};
