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