PageSourceSearch

https://musashi.com/cdn/shop/t/607/assets/msh-social-proof-slider.cf081096.min.js

js musashi.com collected 2026-09-25 18:42:56 UTC 1,702 bytes, 2 lines download raw bytes

1import{S as r}from"./scrollbar.82ff5d47.min.js";import{S as l}from"./swiper-module.ceefb444.min.js";import"./theme.a5e9727e.min.js";import"./navigation.7095075e.min.js";import"./pagination.ac963330.min.js";class n extends l{constructor(){super(),this.isInViewport=!1,this.setupViewportObserver()}setupViewportObserver(){const e={root:null,rootMargin:"0px",threshold:.1};this.observer=new IntersectionObserver(s=>{s.forEach(o=>{if(this.isInViewport=o.isIntersecting,!this.isInViewport)this.pauseAllVideos();else if(this.swiper){const i=this.swiper.slides[this.swiper.activeIndex],t=i==null?void 0:i.querySelector("video");t&&t.play()}})},e)}connectedCallback(){super.connectedCallback(),this.observer.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.observer.unobserve(this)}initSwiper(){const e=new r(this.querySelector(".swiper"),{modules:this.swiperModules,slidesPerView:1.5,scrollbar:{el:`#${this.id} .swiper-scrollbar`,hide:!1},loop:!0,spaceBetween:"15px",navigation:{nextEl:`#${this.id} .custom-swiper-button-next`,prevEl:`#${this.id} .custom-swiper-button-prev`},lazy:{loadPrevNext:!0,loadPrevNextAmount:2},breakpoints:{1024:{spaceBetween:"20px",slidesPerView:3.5}}});window[`swiper_${this.id}`]=e,this.swiper=e,e.on("slideChange",this.slideChange.bind(this)),this.setupAccessibility(e);const s=this.querySelector("video");s&&this.isInViewport&&s.play()}pauseAllVideos(){this.querySelectorAll("video").forEach(s=>{s.pause()})}slideChange(e){this.pauseAllVideos();const s=e.slides[e.activeIndex].querySelector("video");s&&this.isInViewport&&s.play()}}window.customElements.define("msh-social-proof-slider",n);
2//# sourceMappingURL=msh-social-proof-slider.cf081096.min.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.