| Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64 Path : /home/udaipurk/public_html/websites/rishh/XStore Theme/xstore/js/modules/ |
| Current File : //home/udaipurk/public_html/websites/rishh/XStore Theme/xstore/js/modules/mobilePanel.min.js |
!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<i(".mobile-header-wrapper .et_b_header-"+o+".et-off-canvas").length?(setTimeout(function(){i(".mobile-header-wrapper .et_b_header-"+o+".et-off-canvas .et-toggle").first().trigger("click")},300),t=!1):"mobile-menu"==o&&0<i(".mobile-header-wrapper .et_b_header-"+o+" .et-popup_toggle").length&&(setTimeout(function(){i(".mobile-header-wrapper .et_b_header-"+o+" .et-popup_toggle").trigger("click")},300),t=!1);t&&(window.location=e)})}),992<etTheme.et_global.w_width)||(i(".sticky-message-on").length&&i(".woocommerce-notices-wrapper").length&&""!==i(".woocommerce-notices-wrapper").html()&&(i(".et-mobile-panel-wrapper").addClass("outside"),setTimeout(function(){i(".et-mobile-panel-wrapper").removeClass("outside")},5e3)),i(".et-mobile-panel .et-content_toggle .menu li > 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);