var h=Object.defineProperty;var m=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable;var n=(t,o,s)=>o in t?h(t,o,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[o]=s,c=(t,o)=>{for(var s in o||(o={}))j.call(o,s)&&n(t,s,o[s]);if(m)for(var s of m(o))k.call(o,s)&&n(t,s,o[s]);return t};import{D as w,g as b,r as p,j as e,S}from"./main-634.js";import{ae as g,a7 as v}from"./bf-746-82.js";import H from"./bf-363-117.js";import"./bf-275-83.js";import"./bf-822-108.js";import"./bf-25-81.js";function N({formFields:t,setIntegration:o,integrations:s,allIntegURL:u}){const x=w(),{id:a,formID:d}=b(),[r,f]=p.useState(c({},s[a])),[l,i]=p.useState({show:!1});return e.jsxs("div",{style:{width:900},children:[e.jsx(S,{snack:l,setSnackbar:i}),e.jsx("div",{className:"mt-3",children:e.jsx(H,{formID:d,formFields:t,webHooks:r,setWebHooks:f,setSnackbar:i})}),e.jsx(g,{edit:!0,saveConfig:()=>v(s,o,u,r,x,a,1)}),e.jsx("br",{})]})}export{N as default};
