1(function(){window.__bnCardArrows||(window.__bnCardArrows=!0,document.addEventListener("click",function(e){var btn=e.target.closest("[data-gallery-prev], [data-gallery-next]");if(btn){e.preventDefault(),e.stopPropagation();var gallery=btn.closest(".p-card-gallery");if(gallery){var track=gallery.querySelector("[data-card-gallery-track]");if(track){var slides=track.querySelectorAll(".p-card-gallery-slide"),count=slides.length;if(!(count<=1)){var amount=track.clientWidth||track.offsetWidth,idx=Math.round(track.scrollLeft/amount),next;btn.hasAttribute("data-gallery-prev")?next=idx<=0?count-1:idx-1:next=idx>=count-1?0:idx+1,track.scrollTo({left:next*amount,behavior:"smooth"})}}}}}),document.addEventListener("click",function(e){var openAccts=document.querySelectorAll(".utility-account.bn-open"),acct=e.target.closest(".utility-account");if(!acct){openAccts.forEach(function(a){a.classList.remove("bn-open")});return}var trigger=acct.querySelector("a"),menu=acct.querySelector(".bn-acct-menu");if(menu&&trigger&&(e.target===trigger||trigger.contains(e.target))){e.preventDefault();var willOpen=!acct.classList.contains("bn-open");if(openAccts.forEach(function(a){a.classList.remove("bn-open")}),willOpen){var r=trigger.getBoundingClientRect();menu.style.top=Math.round(r.bottom)+"px",menu.style.left=Math.max(8,Math.round(r.right-240))+"px",acct.classList.add("bn-open")}}}),document.addEventListener("click",function(e){var openRegions=document.querySelectorAll(".utility-region.bn-open"),region=e.target.closest(".utility-region");if(!region){openRegions.forEach(function(r){r.classList.remove("bn-open")});return}var trigger=region.querySelector(".bn-region-trigger"),menu=region.querySelector(".bn-region-menu");if(menu&&trigger&&trigger.contains(e.target)){var willOpen=!region.classList.contains("bn-open");if(openRegions.forEach(function(r){r.classList.remove("bn-open")}),willOpen){var rect=trigger.getBoundingClientRect();menu.style.top=Math.round(rect.bottom)+"px",menu.style.left=Math.max(8,Math.min(Math.round(rect.left),window.innerWidth-198))+"px",region.classList.add("bn-open")}}}),window.addEventListener("scroll",function(){document.querySelectorAll(".utility-account.bn-open, .utility-region.bn-open").forEach(function(a){a.classList.remove("bn-open")})},{passive:!0}),document.addEventListener("keydown",function(e){e.key==="Escape"&&document.querySelectorAll(".utility-account.bn-open, .utility-region.bn-open").forEach(function(a){a.classList.remove("bn-open")})}),document.addEventListener("DOMContentLoaded",function(){var chart=document.getElementById("lrf-comparison-chart");if(chart){var rows=chart.querySelectorAll(".container > ul > li");if(rows.length){for(var header=rows[0],priceRow=null,r=1;r<rows.length;r++){var title=rows[r].querySelector(".row-title");if(title&&title.textContent.trim().toLowerCase()==="price"){priceRow=rows[r];break}}for(var money=function(cents){return"$"+(cents/100).toFixed(2).replace(/\B(?=(\d{3})+(?!\d))/g,",")},headCells=header.children,i=1;i<headCells.length;i++){var cell=headCells[i],link=cell.querySelector('a[href*="/products/"]'),span=cell.querySelector(".product-price"),parsed=[];if(priceRow&&priceRow.children[i]&&(parsed=priceRow.children[i].textContent.match(/\$[\d,]+(?:\.\d\d)?/g)||[]),!span&&(parsed.length||link)){span=document.createElement("span"),span.className="product-price",parsed.length&&(span.textContent=parsed[0]);var anchor=cell.querySelector("a")||cell;anchor.appendChild(span)}span&&link&&(function(sp,href){var m=href.match(/\/products\/([^\/?#]+)/);m&&fetch("/products/"+m[1]+".js").then(function(res){return res.ok?res.json():null}).then(function(p){if(!(!p||typeof p.price!="number")&&(sp.textContent=money(p.price),p.compare_at_price&&p.compare_at_price>p.price)){var s=document.createElement("s");s.style.cssText="color:#8a8c8c;font-weight:normal;margin-left:6px;font-size:1rem;",s.textContent=money(p.compare_at_price),sp.appendChild(s)}}).catch(function(){})})(span,link.getAttribute("href"))}priceRow&&priceRow.parentNode.removeChild(priceRow)}if(!document.querySelector(".lrf-head")){var head=document.createElement("div");head.className="lrf-head",head.style.cssText="text-align:center;padding-top:2rem;",head.innerHTML='<div style="font-family:\'industry\',sans-serif;font-weight:bold;text-transform:uppercase;letter-spacing:2px;color:#fe5000;font-size:0.9rem;margin-bottom:0.5rem;">Side by Side</div><h3 style="font-family:\'industry\',sans-serif;font-weight:bold;color:#000;font-size:2.8rem;margin:0 0 0.5rem;">Compare Models</h3><div style="color:#8a8c8c;font-size:1rem;"><span style="color:#fe5000;">\u25CF</span> = included \xB7 <span style="color:#cccdcd;">\u25CB</span> = not available</div>',chart.parentNode.insertBefore(head,chart)}}}))})(); 2//# sourceMappingURL=/cdn/shop/t/127/assets/bushnell-utility-bar.js.map?v=176354384251886478481790092425
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.