import{h as i,$ as x,k as g,i as j,g as k,j as o}from"./main.2.8.10.js";import{e as u,b as r}from"./react-router.DMwpH23k.js";import{S as w}from"./SnackMsg.7BjcJK1j.js";import{S,s as b}from"./Integrations.BFhED4ck.js";import v from"./WebHooksIntegration.CoprJ8QL.js";import{W as F}from"./WebHooksStepTwo.BQfnOc8x.js";import"./react-vendor.P7K3d6op.js";import"./Note.DalStCGz.js";import"./CopyIcn.BnhKHfEP.js";import"./Table.DSsAy4VI.js";import"./index.DpWdl9V1.js";import"./BackIcn.BFDZx8No.js";import"./TutorialLink.D6K_DiHL.js";function M({allIntegURL:n}){const{formID:a}=u(),[m,t]=r.useState({show:!1}),[d,c]=r.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:n,conf:e,edit:1,setIsLoading:c,setSnackbar:t}),isLoading:d}),o.jsx("br",{})]})}export{M as default};
