| 1 |
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 _,t as y,j as e,S}from"./main-162.js";import{b as g}from"./bf-230-72.js";import{W as h}from"./bf-23-135.js";/* empty css */import"./bf-875-77.js";import"./bf-307-196.js";import"./bf-917-73.js";const E=a.lazy(()=>k(()=>import("./bf-920-200.js"),["./bf-920-200.js","./main-162.js","./main-162.css","./bf-582-127.js","./bf-644-69.js","./bf-917-73.js","./bf-667-413.css","./bf-238-412.css","./bf-586-126.js","./bf-110-418.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(E,{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}; |