import{h as i,$ as g,k as u,i as j,g as k,j as s}from"./main.2.9.0.js";import{u as w,e as S,b as a}from"./react-router.DMwpH23k.js";import{S as b}from"./SnackMsg.DYSD96P4.js";import"./Note.NSUdvR3c.js";import"./CopyIcn.CEA_lFLo.js";import{S as v,s as h}from"./Integrations.DL8wqGct.js";import _ from"./WebHooksIntegration.CesI9y9U.js";import{W as C}from"./WebHooksStepTwo.C9DaqOtP.js";import"./react-vendor.P7K3d6op.js";import"./Table.BfF8RYFZ.js";import"./index.DpWdl9V1.js";import"./BackIcn._8Wofmn2.js";import"./TutorialLink.CFG7bS5c.js";function M({allIntegURL:r}){const n=w(),{id:E,formID:m}=S(),[p,c]=a.useState(!1),[o,d]=i(g),f=u(j),[e,l]=i(k),[x,t]=a.useState({show:!1});return s.jsxs("div",{style:{width:900},children:[s.jsx(b,{snack:x,setSnackbar:t}),s.jsx(v,{entity:o.triggered_entity,setSnackbar:t}),s.jsx("div",{className:"mt-3",children:s.jsx(_,{formID:m,formFields:f,webHooks:e,setWebHooks:l,setSnackbar:t})}),s.jsx(C,{edit:!0,saveConfig:()=>h({flow:o,setFlow:d,allIntegURL:r,conf:e,navigate:n,edit:1,setIsLoading:c,setSnackbar:t}),isLoading:p}),s.jsx("br",{})]})}export{M as default};
