import{k,r as a,d as i,h as b,j as s}from"./main-333.js";import{$ as h,h as W,g,d as j,B as p,E as w,s as u}from"./bi.636.93.js";import E from"./bi.27.259.js";import{W as F}from"./bi.740.766.js";import"./bi.429.767.js";function P({allIntegURL:n}){const{formID:r}=k(),[d,o]=a.useState({show:!1}),[c,m]=a.useState(!1),[e,f]=i(h),l=b(W),[t,x]=i(g);return s.jsxs("div",{style:{width:900},children:[s.jsx(j,{snack:d,setSnackbar:o}),e.triggered_entity!=="Webhook"?s.jsx(p,{setSnackbar:o}):s.jsx(w,{setSnackbar:o}),s.jsx("div",{className:"mt-3",children:s.jsx(E,{formID:r,formFields:l,webHooks:t,setWebHooks:x,setSnackbar:o})}),s.jsx(F,{edit:!0,saveConfig:()=>u({flow:e,setFlow:f,allIntegURL:n,conf:t,edit:1,setIsLoading:m,setSnackbar:o}),isLoading:c}),s.jsx("br",{})]})}export{P as default};
