PageSourceSearch

https://www.cantref.com/app/brands/default/2920.bbf662c237d4fb14a9f0.js

js cantref.com collected 2026-09-29 02:39:26 UTC 1,801 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkloop_web=globalThis.webpackChunkloop_web||[]).push([[2920],{2920(e,t,i){i.r(t),i.d(t,{createFrom:()=>h});class s{constructor(e){this.el=e,this.widthLimit=""!==e.dataset.crossfadeBelow?parseInt(e.dataset.crossfadeBelow):0,this.running=!1,this.items=[...e.querySelectorAll("li")],this.itemsLength=this.items.length,this.activeIndex=-1,this.timeout=null,this.paused=!1,this.resizeRequested=!1,this.resizeTimeout=null,this.widthLimit>0&&(this.ro=new ResizeObserver(()=>{this.resizeRequested||(this.resizeRequested=!0,this.resizeTimeout=setTimeout(()=>{this.resize(),this.resizeRequested=!1,this.resizeTimeout=null},100))}),this.ro.observe(this.el)),this.el.onmouseover=()=>{this.paused=!0,clearTimeout(this.timeout)},this.el.onmouseout=()=>{this.paused=!1,this.running&&(this.timeout=setTimeout(()=>{this.next()},4e3))}}resize(){this.el.classList.add("carousel-resizing"),window.requestAnimationFrame(()=>{let e=this.el.offsetWidth<this.widthLimit;for(let t=0;t<this.itemsLength;t++)this.items[t].classList.toggle("fade",e),this.items[t].removeAttribute("hidden");window.requestAnimationFrame(()=>{this.el.classList.remove("carousel-resizing"),e?this.running||this.next():this.running&&this.disable()})})}next(){if(!this.paused){this.el.classList.add("carousel-active"),this.running=!0,this.activeIndex++,this.activeIndex>=this.itemsLength&&(this.activeIndex=0);for(let e=0;e<this.itemsLength;e++)this.items[e].classList.toggle("item-active",e==this.activeIndex);this.timeout=setTimeout(()=>{this.next()},4e3)}}disable(){clearTimeout(this.timeout),this.timeout=null,this.running=!1,this.el.classList.remove("carousel-active");for(let e=0;e<this.itemsLength;e++)this.items[e].classList.remove("item-active")}}function h(e){e.forEach(e=>{1===e.nodeType&&new s(e)})}}}]);

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.