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