1!function(e){"use strict";let t=!1;function n(e){const t=e.find(".dt-cart-subtotal").attr("data-product-count");e.find("[data-counter]").attr("data-counter",t),e.find(".dt-cart-indicator").text("("+t+")"),t>0?e.removeClass("dt-empty-cart"):e.addClass("dt-empty-cart")}e.the7MenuCart=function(o){let d,r,a=e(o),i=a.find(".dt-menu-cart__toggle"),u=(a.find(".the7-popup-button-link"),{});e.data(o,"the7MenuCart",a),u={init:function(){d=new The7ElementorSettings(a),a.refresh(),t&&n(a)},bindEvents:function(){i.hasClass("has-popup")&&void 0!==r&&"yes"==r.popup_action_adding_product&&elementorFrontend.elements.$body.on("added_to_cart",u.displayPopup),elementorFrontend.elements.$body.on("wc_fragments_loaded wc_fragments_refreshed",u.onFragmentRefresh)},unBindEvents:function(){i.off("click",u.displayPopup),elementorFrontend.elements.$body.off("added_to_cart",u.displayPopup),elementorFrontend.elements.$body.off("wc_fragments_loaded wc_fragments_refreshed",u.onFragmentRefresh)},onFragmentRefresh:function(e){n(a)},displayPopup:function(e,t){t&&t.e_manually_triggered||(e.preventDefault(),e.stopPropagation(),i.find(".dt-menu-cart__toggle_button").trigger("click"))}},a.refresh=function(){r=d.getSettings(),u.unBindEvents(),u.bindEvents()},a.delete=function(){u.unBindEvents(),a.removeData("the7MenuCart")},u.init()},e.fn.the7MenuCart=function(){return this.each((function(){var t=e(this).data("the7MenuCart");void 0!==t&&t.delete(),new e.the7MenuCart(this)}))},e(window).on("elementor/frontend/init",(function(){elementorFrontend.elements.$body.on("wc_fragments_loaded",(function(){t=!0})),elementorFrontend.hooks.addAction("frontend/element_ready/the7-woocommerce-menu-cart.default",(function(e,t){t(document).ready((function(){e.the7MenuCart()}))})),elementorFrontend.isEditMode()&&elementorEditorAddOnChangeHandler("the7-woocommerce-menu-cart",(function(t,n){let o=["popup_action_adding_product"];const d=t.model.get("name");if(-1!==o.indexOf(d)){const t=e(n.$el),o=t.data("the7MenuCart");void 0!==o?o.refresh():t.the7MenuCart()}}))}))}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.