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