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