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