$(document).ready(function(){function i(){let t=[...document.querySelectorAll(".lazy-load")];t.forEach(t=>n(t))}function n(n){n.src.includes("svg+xml")&&(n.src=n.dataset.src)}$("main").on("click tap",".thumb-swap",function(){var n=$(this);$(n.data("target")).attr("src",n.data("image"));n.siblings().removeClass("active");n.addClass("active")});$("main").on("mouseenter",".img-container",function(){var n,t;screen.availWidth>991&&(n=$(this),n.data("hasback")!=undefined&&(t=n.find(".product-image"),n.data("originalimgsrc",t.attr("src")),t.attr("src",n.data("backimgsrc"))))});$("main").on("mouseleave",".img-container",function(){if(screen.availWidth>991){var n=$(this);n.data("hasback")!=undefined&&n.find(".product-image").attr("src",n.data("originalimgsrc"))}});$("body").on("click",".quickview",function(n){n.preventDefault();var i=$(this).data("productid"),r=$(this).data("detailurl"),t=$("#quickview .modal-content");t.html('