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