PageSourceSearch

https://shop.varsity.com/cdn/shop/t/205/assets/component-linked-products.js?v=58199793316701970491787605342

js varsity.com collected 2026-09-24 09:24:07 UTC 1,996 bytes, 2 lines download raw bytes

1(()=>{class LinkedProducts extends HTMLElement{constructor(){super(),this.onImageSwatchMouseEnterBound=this.onImageSwatchMouseEnter.bind(this),this.onImageSwatchMouseLeaveBound=this.onImageSwatchMouseLeave.bind(this)}connectedCallback(){this.imageSwatchLabel=this.querySelector(".linked-products--title-wrapper .linked-option-product-title"),this.imageSwatches=this.querySelectorAll(".swatch-element.image-swatch"),this.setEventListeners(),this.setActiveImageSwatchLabel()}setActiveImageSwatchLabel(){const selectedImageSwatch=this.querySelector(".swatch-element.image-swatch.active");selectedImageSwatch&&this.updateSwatchLabel(selectedImageSwatch)}updateSwatchLabel=swatch=>{if(!swatch)return;const label=swatch.getAttribute("data-value");!label||!this.imageSwatchLabel||(this.imageSwatchLabel.textContent=label,this.imageSwatchLabel.classList.remove("fade-in-label"),this.imageSwatchLabel.offsetWidth,this.imageSwatchLabel.classList.add("fade-in-label"))};setEventListeners(){this.imageSwatches.length&&this.imageSwatches.forEach(swatch=>{swatch.addEventListener("mouseenter",this.onImageSwatchMouseEnterBound),swatch.addEventListener("mouseleave",this.onImageSwatchMouseLeaveBound)})}onImageSwatchMouseEnter(event){const imageSwatchElement=event.currentTarget;this.updateSwatchLabel(imageSwatchElement)}onImageSwatchMouseLeave(){const activeImageSwatch=this.querySelector(".swatch-element.image-swatch.active");activeImageSwatch?this.updateSwatchLabel(activeImageSwatch):this.imageSwatchLabel.innerText=""}removeEventListeners(){this.imageSwatches.forEach(swatch=>{swatch.removeEventListener("mouseenter",this.onImageSwatchMouseEnterBound),swatch.removeEventListener("mouseleave",this.onImageSwatchMouseLeaveBound)})}disconnectedCallback(){this.removeEventListeners()}}window.customElements.get("linked-products")||window.customElements.define("linked-products",LinkedProducts)})();
2//# sourceMappingURL=/cdn/shop/t/205/assets/component-linked-products.js.map?v=58199793316701970491787605342

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.