import{h as i,$ as x,k as S,i as g,g as j,j as s}from"./main.2.9.0.js";import{e as k,b as r}from"./react-router.DMwpH23k.js";import{S as u}from"./SnackMsg.DYSD96P4.js";import{S as w,s as b}from"./Integrations.DL8wqGct.js";import I from"./WebHooksIntegration.CesI9y9U.js";import{W as h}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 D({allIntegURL:a}){const{formID:n}=k(),[m,o]=r.useState({show:!1}),[p,c]=r.useState(!1),[t,f]=i(x),d=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(I,{formID:n,formFields:d,webHooks:e,setWebHooks:l,setSnackbar:o})}),s.jsx(h,{edit:!0,saveConfig:()=>b({flow:t,setFlow:f,allIntegURL:a,conf:e,edit:1,setIsLoading:c,setSnackbar:o}),isLoading:p}),s.jsx("br",{})]})}export{D as default};
