HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: //proc/self/cwd/wp-content/themes/xts-luman/js/scripts/singleProductStickyAddToCart.min.js
(s=>{XTSThemeModule.singleProductStickyAddToCart=function(){var o,c,t=s("form.cart"),a=s(".xts-sticky-atc");0===a.length||0===t.length||XTSThemeModule.isMobileSize&&!a.hasClass("xts-mb-show")||(o=t.offset().top+t.outerHeight(),c=s(".xts-scroll-to-top"),(t=function(){var t=XTSThemeModule.$window.scrollTop(),s=XTSThemeModule.$window.height(),e=XTSThemeModule.$document.height(),s=parseInt(t+s)+60;o<t&&s!==e&&s<e?(a.addClass("xts-shown"),a.hasClass("xts-mb-show")&&c.addClass("xts-sticky-atc-shown")):(s===e||e<s||t<o)&&(a.removeClass("xts-shown"),a.hasClass("xts-mb-show"))&&c.removeClass("xts-sticky-atc-shown")})(),XTSThemeModule.$window.on("scroll",t),s(".xts-sticky-atc-btn").on("click",function(t){t.preventDefault(),s("html, body").animate({scrollTop:s(".xts-single-product .product_title, .elementor-widget-xts_single_product_title").offset().top-60},800)}),s(".xts-sticky-atc .xts-wishlist-btn a").on("click",function(t){s(this).hasClass("xts-added")||t.preventDefault(),s(".xts-single-product-actions > .xts-wishlist-btn a").trigger("click")}),XTSThemeModule.$document.on("xtsAddedToWishlist",function(){s(".xts-sticky-atc .xts-wishlist-btn a").addClass("xts-added")}),s(".xts-sticky-atc .xts-compare-btn a").on("click",function(t){s(this).hasClass("xts-added")||t.preventDefault(),s(".xts-single-product-actions > .xts-compare-btn a").trigger("click")}),XTSThemeModule.$document.on("xtsAddedToCompare",function(){s(".xts-sticky-atc .xts-compare-btn a").addClass("xts-added")}),s(".xts-sticky-atc .qty").on("change",function(){s(".xts-single-product form.cart .qty").val(s(this).val())}),s(".xts-single-product form.cart .qty").on("change",function(){s(".xts-sticky-atc .qty").val(s(this).val())}))},s(document).ready(function(){XTSThemeModule.singleProductStickyAddToCart()})})(jQuery);