PageSourceSearch

https://rikasale.ru/local/templates/html/components-template/product-slider/script.min.js

js rikasale.ru collected 2026-10-07 17:38:10 UTC 2,273 bytes, 1 lines download raw bytes

1(function(){'use strict';window.addEventListener("load",function(){window.reinit||(window.reinit={}),window.reinit.slider||(window.reinit.slider={});const a={rootMargin:"0px",threshold:.25};window.reinit.slider.productSlider=function(){let b=$(".js-slider-product");if(b.length){b[0].querySelectorAll(".product-card-wrap").length;const c=a=>{let b=a.querySelectorAll(".product-card-wrap").length;window.slam_slider({el:a,args:{autoHeight:!1,lazy:!0,spaceBetween:0,watchOverflow:!0,simulateTouch:!0,slidesPerView:"auto",autoplay:!!a.classList.contains("product-slider--autoplay")&&{delay:3e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},loop:2<b,breakpoints:{1100:{loop:3<b},1340:{loop:4<b},1700:{loop:5<b}},slideClass:"product-card-wrap",pagination:{el:$(a).find(".js-swiper-pagination"),dynamicBullets:10<b}}}),$(a).addClass("inited")};b.each(function(b,d){const e=new IntersectionObserver(a=>{a[0].isIntersecting&&!1==a[0].target.classList.contains("inited")&&c(d)},a);e.observe(d)})}},window.reinit.slider.productSlider(),window.reinit.slider.productSliderArticle=function(){let b=$(".js-slider-product-article");if(b.length){b[0].querySelectorAll(".product-card-wrap").length;const c=a=>{let b=a.querySelectorAll(".product-card-wrap").length,c=!0;return 1699<window.innerWidth&&4>b&&(c=!1),1339<window.innerWidth&&1700>window.innerWidth&&3>b&&(c=!1),1339>window.innerWidth&&1023<window.innerWidth&&4>b&&(c=!1),1339>window.innerWidth&&1023<window.innerWidth&&4>b&&(c=!1),1024>window.innerWidth&&768<window.innerWidth&&3>b&&(c=!1),768>window.innerWidth&&2>b&&(c=!1),c?void(window.slam_slider({el:a,args:{autoHeight:!1,lazy:!0,spaceBetween:0,watchOverflow:!0,simulateTouch:!0,slidesPerView:"auto",loop:!1,slideClass:"product-card-wrap",pagination:{el:$(a).find(".js-swiper-pagination"),dynamicBullets:10<b}}}),$(a).addClass("inited")):($(a).addClass("slider-center"),void function(){new LazyLoad({elements_selector:".js-slider-product-article .swiper-lazy",threshold:0,callback_loaded:function(a){const b=$(a),c=b.closest(".lazy-img-wrap");c.addClass("loaded")}})}())};b.each(function(b,d){const e=new IntersectionObserver(a=>{a[0].isIntersecting&&!1==a[0].target.classList.contains("inited")&&c(d)},a);e.observe(d)})}},window.reinit.slider.productSliderArticle()})})();

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.