1(function(){'use strict';var root=document.querySelector('[data-arv-grouprun-root]');if(!root){return} 2var buttons=Array.prototype.slice.call(root.querySelectorAll('[data-arv-grouprun-region]')).filter(function(el){return'BUTTON'===el.tagName});var targets=root.querySelectorAll('.arv-grouprun__card, .arv-grouprun__upcoming-row');var count=root.querySelector('[data-arv-grouprun-count]');if(!buttons.length){return} 3function apply(region){var shown=0;for(var i=0;i<targets.length;i++){var hit=(''===region||targets[i].getAttribute('data-arv-grouprun-region')===region);targets[i].hidden=!hit;if(hit&&targets[i].classList.contains('arv-grouprun__upcoming-row')){shown++}} 4if(count){count.textContent=''===region?'':shown+(1===shown?' run':' runs')+' upcoming'}} 5for(var b=0;b<buttons.length;b++){buttons[b].addEventListener('click',function(e){var region=e.currentTarget.getAttribute('data-arv-grouprun-region');for(var j=0;j<buttons.length;j++){var on=(buttons[j]===e.currentTarget);buttons[j].setAttribute('aria-pressed',on?'true':'false');buttons[j].classList.toggle('is-active',on)} 6apply(region)})}})()
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.