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