import{b as i,$ as g,k as u,i as j,h as k,j as s}from"./main.2.8.1.js";import{u as w,h as S,d as a}from"./react-router-dom.9mCuUg3q.js";import{S as b}from"./SnackMsg.S8DrwLlT.js";import"./Note.BeM7sN-p.js";import{S as h,s as v}from"./Integrations.D2bgBas2.js";import _ from"./WebHooksIntegration.B7pcODxw.js";import{W as C}from"./WebHooksStepTwo.CLsJIPcj.js";import"./CopyIcn.3gZpHton.js";import"./Table.DAL7rcPQ.js";import"./index.wO-AxluA.js";import"./BackIcn._kGL_vVw.js";function A({allIntegURL:r}){const n=w(),{id:E,formID:m}=S(),[c,d]=a.useState(!1),[o,p]=i(g),f=u(j),[e,l]=i(k),[x,t]=a.useState({show:!1});return s.jsxs("div",{style:{width:900},children:[s.jsx(b,{snack:x,setSnackbar:t}),s.jsx(h,{entity:o.triggered_entity,setSnackbar:t}),s.jsx("div",{className:"mt-3",children:s.jsx(_,{formID:m,formFields:f,webHooks:e,setWebHooks:l,setSnackbar:t})}),s.jsx(C,{edit:!0,saveConfig:()=>v({flow:o,setFlow:p,allIntegURL:r,conf:e,navigate:n,edit:1,setIsLoading:d,setSnackbar:t}),isLoading:c}),s.jsx("br",{})]})}export{A as default};
