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