https://www.bushnellgolf.com/cdn/shop/t/127/assets/bushnell-produc…?v=157171166365810387521790092425
1document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".embla").forEach(slider=>{const viewport=slider.querySelector(".embla__viewport"),prevBtn=slider.querySelector(".prev"),nextBtn=slider.querySelector(".next"),dotsContainer=slider.querySelector(".slider-dots"),embla=EmblaCarousel(viewport,{loop:!0,align:"start",dragFree:!1}),images=slider.querySelectorAll("img");let imagesLoaded=0;const onImageLoad=()=>{imagesLoaded++,imagesLoaded>=images.length&&embla.reInit()};if(images.forEach(img=>{img.complete?onImageLoad():img.addEventListener("load",onImageLoad)}),prevBtn&&prevBtn.addEventListener("click",()=>{embla.scrollPrev()}),nextBtn&&nextBtn.addEventListener("click",()=>{embla.scrollNext()}),dotsContainer){embla.scrollSnapList().forEach((_,index)=>{const dot=document.createElement("button");dot.type="button",dot.classList.add("slider-dot"),dot.setAttribute("aria-label",`Go to slide ${index+1}`);const isActive=index===embla.selectedScrollSnap();isActive&&dot.classList.add("active"),dot.setAttribute("aria-current",isActive?"true":"false"),dot.addEventListener("click",()=>{embla.scrollTo(index)}),dotsContainer.appendChild(dot)});const updateDots=()=>{dotsContainer.querySelectorAll(".slider-dot").forEach((dot,index)=>{const isActive=index===embla.selectedScrollSnap();dot.classList.toggle("active",isActive),dot.setAttribute("aria-current",isActive?"true":"false")})};embla.on("select",updateDots),updateDots()}window.addEventListener("resize",()=>{embla.reInit()})})}); 2//# sourceMappingURL=/cdn/shop/t/127/assets/bushnell-product-image-slider.js.map?v=157171166365810387521790092425
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.