1(function(){function setupProgress(scope){var root=scope||document,lists=root.querySelectorAll(".product__media-list");lists.forEach(function(list){if(list.dataset.progressSetup==="true")return;list.dataset.progressSetup="true";var indicator=document.createElement("div");indicator.className="gallery-progress-indicator";var bar=document.createElement("div");bar.className="gallery-progress-indicator__bar",indicator.appendChild(bar),list.parentNode.insertBefore(indicator,list.nextSibling);var ticking=!1;function update(){var totalScroll=list.scrollWidth-list.clientWidth;if(totalScroll<=1){indicator.style.visibility="hidden";return}indicator.style.visibility="";var trackWidth=indicator.clientWidth;if(!(trackWidth<=0)){var visibleRatio=list.clientWidth/list.scrollWidth,barWidth=Math.max(20,trackWidth*visibleRatio),ratio=list.scrollLeft/totalScroll,barX=(trackWidth-barWidth)*ratio;bar.style.width=barWidth+"px",bar.style.transform="translateX("+barX+"px)",ticking=!1}}function onScroll(){ticking||(requestAnimationFrame(update),ticking=!0)}list.addEventListener("scroll",onScroll,{passive:!0}),window.addEventListener("resize",onScroll,{passive:!0}),update(),setTimeout(update,200),setTimeout(update,800)})}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",function(){setupProgress()}):setupProgress(),document.addEventListener("shopify:section:load",function(event){setupProgress(event.target)})})(); 2//# sourceMappingURL=/cdn/shop/t/122/assets/pdp-gallery-progress.js.map?v=34041224525853555961779454544
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.