1/*! Copyright (c) Safe As Milk. All rights reserved. */class ImageSkeleton extends HTMLElement{#loadStartTime;#minimumRevealDelay;#revealInterval;connectedCallback(){this.hasAttribute("loaded")||(this.#minimumRevealDelay=Number(this.getAttribute("minimum-reveal-delay")||0),this.#revealInterval=null,this.#loadStartTime=Date.now(),this.init())}init(){const image=this.nextElementSibling&&this.nextElementSibling.tagName==="IMG"?this.nextElementSibling:null;if(!image)return;const onLoad=()=>{this.#revealInterval=setInterval((()=>{Date.now()-this.#loadStartTime>=this.#minimumRevealDelay&&(clearInterval(this.#revealInterval),setTimeout((()=>{this.markAsLoaded()}),250))}),50)};image.hasAttribute("src")&&image.complete?this.#minimumRevealDelay?onLoad():this.markAsLoaded():image.addEventListener("load",onLoad.bind(this))}markAsLoaded(){this.setAttribute("loaded",""),this.setAttribute("aria-hidden","true")}}customElements.define("image-skeleton",ImageSkeleton); 2//# sourceMappingURL=/cdn/shop/t/55/assets/image-skeleton.js.map?v=106077744303847085641775838056
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.