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