var c=Object.defineProperty;var i=Object.getOwnPropertySymbols;var n=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var p=(a,l,o)=>l in a?c(a,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):a[l]=o,e=(a,l)=>{for(var o in l||(l={}))n.call(l,o)&&p(a,o,l[o]);if(i)for(var o of i(l))f.call(l,o)&&p(a,o,l[o]);return a};import"./main.2.8.10.js";const g=(a,l,o)=>{const s=e({},l);s.field_map.splice(a,0,{}),o(e({},s))},r=(a,l,o)=>{const s=e({},l);s.field_map.length>1&&s.field_map.splice(a,1),o(e({},s))},_=(a,l,o,s)=>{const t=e({},o);t.field_map[l][a.target.name]=a.target.value,a.target.value==="custom"&&(t.field_map[l].customValue=""),s(e({},t))},C=(a,l,o,s)=>{var d;const t=e({},o);t.field_map[l].customValue=((d=a==null?void 0:a.target)==null?void 0:d.value)||a,s(e({},t))};export{C as a,g as b,r as d,_ as h};
