PageSourceSearch

https://www.aravaiparunning.com/wp-content/cache/min/1/wp-content/…/assets/aravaipa-watch.js?ver=1790916550

js aravaiparunning.com collected 2026-10-02 07:46:29 UTC 1,958 bytes, 11 lines download raw bytes

1(function(){document.addEventListener('click',function(event){var link=event.target.closest('.arv-watch-race__seg');if(!link){return}
2var wrap=document.querySelector('.arv-watch-race__frame');var frame=wrap?wrap.querySelector('iframe'):null;if(!frame){return}
3event.preventDefault();frame.src='https://www.youtube-nocookie.com/embed/'+link.getAttribute('data-yt-id')+'?autoplay=1';frame.title=link.getAttribute('data-yt-title')||'';document.querySelectorAll('.arv-watch-race__seg.is-active').forEach(function(el){el.classList.remove('is-active');el.removeAttribute('aria-current')});link.classList.add('is-active');link.setAttribute('aria-current','true');wrap.scrollIntoView({behavior:'smooth',block:'start'})})})();(function(){var inputs=document.querySelectorAll('[data-arv-watch-search]');for(var i=0;i<inputs.length;i++){wireWatchSearch(inputs[i])}
4function wireWatchSearch(input){var root=input.closest('.arv-watch');if(!root){return}
5var list=root.querySelector('[data-arv-watch-list]');var count=root.querySelector('[data-arv-watch-count]');var clear=root.querySelector('[data-arv-watch-clear]');var year=root.querySelector('[data-arv-watch-year]');var hero=root.querySelector('[data-arv-watch-hero]');if(!list){return}
6var cards=list.querySelectorAll('[data-arv-watch-name]');function apply(){var q=input.value.trim().toLowerCase();var y=year?year.value:'';var shown=0;for(var j=0;j<cards.length;j++){var card=cards[j];var name=card.getAttribute('data-arv-watch-name')||'';var hit=(''===q||name.indexOf(q)!==-1)&&(''===y||card.getAttribute('data-arv-watch-year')===y);card.hidden=!hit;if(hit){shown++}}
7if(clear){clear.hidden=''===q}
8if(hero){hero.hidden=!(''===q&&''===y)}
9if(count){count.textContent=''===q&&''===y?'':shown+(1===shown?' broadcast':' broadcasts')}}
10input.addEventListener('input',apply);if(year){year.addEventListener('change',apply)}
11if(clear){clear.addEventListener('click',function(){input.value='';input.focus();apply()})}}})()

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.