import{b as i,$ as x,k as S,i as j,h as g,j as s}from"./main.2.8.1.js";import{h as k,d as r}from"./react-router-dom.9mCuUg3q.js";import{S as u}from"./SnackMsg.S8DrwLlT.js";import{S as w,s as b}from"./Integrations.D2bgBas2.js";import I from"./WebHooksIntegration.B7pcODxw.js";import{W as h}from"./WebHooksStepTwo.CLsJIPcj.js";import"./Note.BeM7sN-p.js";import"./CopyIcn.3gZpHton.js";import"./Table.DAL7rcPQ.js";import"./index.wO-AxluA.js";import"./BackIcn._kGL_vVw.js";function L({allIntegURL:a}){const{formID:n}=k(),[m,o]=r.useState({show:!1}),[c,p]=r.useState(!1),[t,d]=i(x),f=S(j),[e,l]=i(g);return s.jsxs("div",{style:{width:900},children:[s.jsx(u,{snack:m,setSnackbar:o}),s.jsx(w,{entity:t.triggered_entity,setSnackbar:o}),s.jsx("div",{className:"mt-3",children:s.jsx(I,{formID:n,formFields:f,webHooks:e,setWebHooks:l,setSnackbar:o})}),s.jsx(h,{edit:!0,saveConfig:()=>b({flow:t,setFlow:d,allIntegURL:a,conf:e,edit:1,setIsLoading:p,setSnackbar:o}),isLoading:c}),s.jsx("br",{})]})}export{L as default};
