!function(i){"use strict";etTheme.autoinit.mobilePanel=etTheme.mobilePanel=function(){var n;i(".et-mobile-panel-wrapper").length<1||(n=i(".elementor-location-header").length,i.each(["wishlist","compare","cart","mobile_menu","account"],function(){let o=this;i(".et_b_mobile-panel-"+o+" > a").on("click",function(e){e.preventDefault(),o="mobile_menu"!=o?o.replace("_","-"):o;e=i(this).attr("href");let t=!0;if(n){let e=i(".elementor-widget-theme-etheme_"+o+".etheme-elementor-off-canvas:visible:not(.etheme-elementor-dropdown)");e.length&&(setTimeout(function(){i(document).trigger("et_mobile_panel_canvas_element_triggered",[e.first().data("widget_type").replace(".default",""),e.first().data("id")])},300),t=!1)}else 0 a").on("click",function(){i(this).parents(".et-content_toggle").removeClass("et-content-shown").find(".et-mini-content").removeClass("active")}),i(window).on("scroll",function(){i(".et-mini-content-opened").length<1&&(i(".etheme-sticky-cart:visible").length?i(".etheme-sticky-cart.outside").length?i(".et-mobile-panel-wrapper").removeClass("outside"):i(".et-mobile-panel-wrapper").addClass("outside"):i(window).scrollTop()+i(window).height()+100>i(document).height()?i(".et-mobile-panel-wrapper").addClass("outside"):i(".et-mobile-panel-wrapper").removeClass("outside"))}))}}(jQuery);