1function createOverlay(a){var b=document.createElement("img");return b.setAttribute("src","".concat(a.src)),overlay=document.createElement("div"),prepareOverlay(overlay,b),a.style.opacity="50%",toggleLoadingSpinner(a),b.onload=function(){toggleLoadingSpinner(a),a.parentElement.insertBefore(overlay,a),a.style.opacity="100%"},overlay}function prepareOverlay(a,b){a.setAttribute("class","image-magnify-full-size"),a.setAttribute("aria-hidden","true"),a.style.backgroundImage="url('".concat(b.src,"')"),a.style.backgroundColor="var(--gradient-background)"}function toggleLoadingSpinner(a){var b=a.parentElement.parentElement.querySelector(".loading__spinner");b.classList.toggle("hidden")}function moveWithHover(a,b,c){var d=a.height/a.width,e=b.target.getBoundingClientRect(),f=b.clientX-e.left,g=b.clientY-e.top,h="".concat(f/(a.clientWidth/100),"%"),i="".concat(g/(a.clientWidth*d/100),"%");overlay.style.backgroundPosition="".concat(h," ").concat(i),overlay.style.backgroundSize="".concat(a.width*c,"px")}function magnify(a,b){var c=createOverlay(a);c.onclick=function(){return c.remove()},c.onmousemove=function(c2){return moveWithHover(a,c2,b)},c.onmouseleave=function(){return c.remove()}}function enableZoomOnHover(a){var b=document.querySelectorAll(".image-magnify-hover");b.forEach(function(b2){b2.onmousemove=function(c){magnify(b2,a),moveWithHover(b2,c,a)}})}enableZoomOnHover(2); 2//# sourceMappingURL=/cdn/shop/t/97/assets/magnify.js.map?v=60894966447080793111790755916
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.