(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wcPPCP.utils,i=window.wcPPCP.actions,o=new(e.n(i)());let n=!1;o.addAction("checkout_on_shipping_change",e=>{if(n=!1,e.shipping_method){const i=(0,t.extractShippingMethod)(e.shipping_method);for(let e of Object.keys(i))i[e].includes("mondialrelay_official_shipping")&&(n=!0)}}),o.addFilter("checkout_submit_form",e=>(e&&n&&(e=!1),e)),(this.wcPPCP=this.wcPPCP||{})["mondial-relay"]={}})();
//# sourceMappingURL=mondial-relay.js.map