PageSourceSearch

https://gearset.com/assets/g2-badges-slider-ynejgkIT.js

js gearset.com collected 2026-09-25 14:29:06 UTC 809 bytes, 2 lines download raw bytes

1import{t as e}from"./swiper-DMoo8xHw.js";import{t}from"./autoplay-DhFdpEqs.js";document.addEventListener(`DOMContentLoaded`,()=>{let n=window.matchMedia(`(max-width: 768px)`);for(let r of document.querySelectorAll(`.swiper.g2-badges-slider`)){let i=r.querySelector(`.swiper-wrapper`),a=i.innerHTML,o=null,s=()=>{if(!o){for(let e of Array.from(i.children)){var n;let t=e.cloneNode(!0);t.setAttribute(`aria-hidden`,`true`),(n=t.querySelector(`img`))==null||n.removeAttribute(`alt`),i.append(t)}o=new e(r,{modules:[t],slidesPerView:`auto`,spaceBetween:6,loop:!0,speed:4e3,allowTouchMove:!1,autoplay:{delay:0,disableOnInteraction:!1}})}},c=()=>{o&&(o.destroy(!0,!0),o=null,i.innerHTML=a)};n.matches&&s(),n.addEventListener(`change`,e=>{e.matches?s():c()})}});
2//# sourceMappingURL=g2-badges-slider-ynejgkIT.js.map

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.