(()=>{"use strict";var a={n:r=>{var e=r&&r.__esModule?()=>r.default:()=>r;return a.d(e,{a:e}),e},d:(r,e)=>{for(var t in e)a.o(e,t)&&!a.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},o:(a,r)=>Object.prototype.hasOwnProperty.call(a,r)};const r=window.jQuery;var e=a.n(r);const t=window.wcPPCP.actions;(new(a.n(t)())).addFilter("add_to_cart_data",(a,r)=>{const t=e()('form.cart [name^="wapf["]').serializeArray(),o={};return t.forEach(({name:a,value:r})=>{const e=a.match(/^wapf\[(field_[\w]+)]/);if(e){const a=e[1];o[a]?o[a]=Array.isArray(o[a])?[...o[a],r]:[o[a],r]:o[a]=r}}),{...a,wapf:o,wapf_field_groups:e()('[name="wapf_field_groups"]').val()}}),(this.wcPPCP=this.wcPPCP||{}).product={}})();
//# sourceMappingURL=product.js.map