1woodmartThemeModule.$document.on("wdSearchFullScreenContentLoaded wdShopPageInit wdRecentlyViewedProductLoaded wdProductsTabsLoaded",function(){woodmartThemeModule.mobileCarouselSimple()}),woodmartThemeModule.mobileCarouselSimple=function(){var e=woodmartThemeModule.$body.hasClass("rtl");document.querySelectorAll(".wd-carousel-container.wd-carousel-dis-mb:not(.wd-carousel-simple-mb)").forEach(function(o){if(!(woodmartThemeModule.windowWidth>1024)){var t=o.querySelector(".wd-carousel-wrap"),d=o.querySelector(".wd-btn-arrow.wd-prev"),i=o.querySelector(".wd-btn-arrow.wd-next");if(t&&d&&i){o.classList.add("wd-carousel-simple-mb");var l=!1,r=!1;d.addEventListener("click",function(e){a(e,"prev")}),i.addEventListener("click",function(e){a(e,"next")}),t.addEventListener("scroll",n,{passive:!0}),n()}}function a(o,d){if(!(woodmartThemeModule.windowWidth>1024)){o.preventDefault();var i=t.clientWidth,l=t.scrollWidth-i,r=Math.max(0,Math.min(t.scrollLeft,l)),a="next"===d?i:-i;e&&(a=-a);var n=Math.max(0,Math.min(r+a,l));t.scrollTo({left:n,behavior:"smooth"})}}function n(){l?r=!0:(l=!0,requestAnimationFrame(function(){var o=function(){if(woodmartThemeModule.windowWidth>1024)return null;var o=t.scrollLeft,d=t.clientWidth,i=t.scrollWidth,l=e?o<=0?Math.abs(o):i-d-o:o;return{hide:i<=d,prevDisabled:l<=1,nextDisabled:l+d>=i-1}}();if(!o)return l=!1,void(r=!1);requestAnimationFrame(function(){!function(e){d.classList.toggle("wd-hide",e.hide),i.classList.toggle("wd-hide",e.hide),d.classList.toggle("wd-disabled",!e.hide&&e.prevDisabled),i.classList.toggle("wd-disabled",!e.hide&&e.nextDisabled)}(o),l=!1,r&&(r=!1,n())})}))}})},window.addEventListener("load",function(){woodmartThemeModule.mobileCarouselSimple()});
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.