!function(){"use strict";var t={n:function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,{a:n}),n},d:function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}},e=window.jQuery,n=t.n(e);(0,window.ctFrontend.registerDynamicChunk)("blocksy_ext_woo_extra_suggested_products",{mount:function(t,e){var o=e.event,r=(e.eventData,e.eventArguments,new FormData);r.append("action","blocksy_update_suggested"),fetch(ct_localizations.ajax_url,{method:"POST",body:r}).then((function(t){return t.json()})).then((function(t){var e=t.success,r=t.data.content;if(e){var c=document.querySelector(".ct-suggested-products--checkout");c&&(c.outerHTML=r,ctEvents.trigger("blocksy:frontend:init"),"added_to_cart"===o.type&&n()(document.body).trigger("update_checkout"))}}))}})}();