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