import{k as u,r as i,d as a,h as g,j as s}from"./main-333.js";import{$ as j,h as k,g as p,d as w,B as b,E as h,s as F}from"./bi.636.93.js";import W from"./bi.27.259.js";import{W as E}from"./bi.740.766.js";import"./bi.429.767.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};
