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