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