(()=>{"use strict";var o,e;o=jQuery,window.RTSB&&window.RTSB._initialized&&(null===(e=window.RTSB.modules.registerAfterElementor("checkoutErrors",function(){var e=(window.RTSB||{}).helpers;return{name:"checkoutErrors",version:"1.0.0",init:function(){return e.rAF(function(){return function(o){var e=o(".checkout-page");e.length&&o(document.body).on("checkout_error",function(r,c){o(".woocommerce-NoticeGroup-checkout, .woocommerce-error, .woocommerce-message").remove(),e.find(".rtsb-notice-widget").find(".rtsb-notice").prepend('<div class="woocommerce-NoticeGroup woocommerce-NoticeGroup-checkout">'+c+"</div>")})}(o)}),this}}}))||void 0===e||e.init())})();