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