PageSourceSearch

https://ruthsbrownies.com/cdn/shop/t/33/assets/scrolling-marquee.js?v=72089939996385568461791113672

js ruthsbrownies.com collected 2026-10-10 01:45:07 UTC 1,156 bytes, 2 lines download raw bytes

1/*! Copyright (c) Safe As Milk. All rights reserved. */import{debounce}from"utils";class ScrollingMarquee extends HTMLElement{#debouncedSetMarqueeSpeed;constructor(){super(),this.#debouncedSetMarqueeSpeed=debounce(this.#setMarqueeSpeed.bind(this),50)}connectedCallback(){this.marqueeContainer=this.querySelector(".marquee"),this.marqueeElements=Array.from(this.querySelectorAll(".marquee__content")),this.resizeObserver=new ResizeObserver(this.#debouncedSetMarqueeSpeed),this.resizeObserver.observe(this.marqueeContainer),this.#setMarqueeSpeed()}disconnectedCallback(){this.resizeObserver.unobserve(this.marqueeContainer)}#setMarqueeSpeed(){const marqueeComputedStyle=window.getComputedStyle(this.marqueeContainer),gapValue=parseInt(marqueeComputedStyle.getPropertyValue("column-gap"),10),speed=(parseFloat(this.getAttribute("marquee-speed"))||0)*10;this.marqueeElements.forEach((element=>{const timeTaken=(element.offsetWidth+gapValue)/speed;element.style.animationDuration=`${timeTaken}s`}))}}customElements.define("scrolling-marquee",ScrollingMarquee);
2//# sourceMappingURL=/cdn/shop/t/33/assets/scrolling-marquee.js.map?v=72089939996385568461791113672

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.