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