var h=Object.defineProperty;var m=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var n=(t,s,o)=>s in t?h(t,s,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[s]=o,p=(t,s)=>{for(var o in s||(s={}))j.call(s,o)&&n(t,o,s[o]);if(m)for(var o of m(s))w.call(s,o)&&n(t,o,s[o]);return t};import{v as b,w as k,r as c,j as e,S as v}from"./main-40.js";import{b as S}from"./bf-132-75.js";import g from"./bf-627-203.js";import{W as H}from"./bf-679-136.js";/* empty css          */import"./bf-586-70.js";import"./bf-141-80.js";import"./bf-476-127.js";import"./bf-860-126.js";import"./bf-892-199.js";function M({formFields:t,setIntegration:s,integrations:o,allIntegURL:f}){const u=b(),{id:r,formID:x}=k(),[a,d]=c.useState(p({},o[r])),[l,i]=c.useState({show:!1});return e.jsxs("div",{style:{width:900},children:[e.jsx(v,{snack:l,setSnackbar:i}),e.jsx("div",{className:"mt-3",children:e.jsx(g,{formID:x,formFields:t,webHooks:a,setWebHooks:d,setSnackbar:i})}),e.jsx(H,{edit:!0,saveConfig:()=>S(o,s,f,a,u,r,1)}),e.jsx("br",{})]})}export{M as default};
