import{b as i,$ as x,k as u,i as j,h as w,j as s}from"./main.2.8.1.js";import{h as g,d as n}from"./react-router-dom.9mCuUg3q.js";import{S as k}from"./SnackMsg.S8DrwLlT.js";import{S,s as b}from"./Integrations.D2bgBas2.js";import F 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:r}){const{formID:a}=g(),[m,o]=n.useState({show:!1}),[c,d]=n.useState(!1),[t,f]=i(x),p=u(j),[e,l]=i(w);return s.jsxs("div",{style:{width:900},children:[s.jsx(k,{snack:m,setSnackbar:o}),s.jsx(S,{entity:t.triggered_entity,setSnackbar:o}),s.jsx("div",{className:"mt-3",children:s.jsx(F,{formID:a,formFields:p,webHooks:e,setWebHooks:l,setSnackbar:o})}),s.jsx(h,{edit:!0,saveConfig:()=>b({flow:t,setFlow:f,allIntegURL:r,conf:e,edit:1,setIsLoading:d,setSnackbar:o}),isLoading:c}),s.jsx("br",{})]})}export{L as default};
