1(function(){'use strict';if(window.matchMedia&&window.matchMedia('(hover: hover) and (pointer: fine)').matches){return} 2var OPEN='is-open';var SETTLE_MS=400;var openedAt=0;function pins(){return document.querySelectorAll('.arv-region-map__pin')} 3function closeAll(except){var all=pins();for(var i=0;i<all.length;i++){if(all[i]!==except&&all[i].classList.contains(OPEN)){all[i].classList.remove(OPEN);all[i].setAttribute('aria-expanded','false')}}} 4function onClick(event){var pin=event.target.closest('.arv-region-map__pin');if(!pin){closeAll(null);return} 5if(pin.classList.contains(OPEN)){if(Date.now()-openedAt<SETTLE_MS){event.preventDefault()} 6return} 7event.preventDefault();closeAll(pin);pin.classList.add(OPEN);pin.setAttribute('aria-expanded','true');openedAt=Date.now()} 8function onKey(event){if('Escape'===event.key||'Esc'===event.key){closeAll(null)}} 9function init(){var all=pins();if(!all.length){return} 10for(var i=0;i<all.length;i++){all[i].setAttribute('aria-expanded','false')} 11document.addEventListener('click',onClick);document.addEventListener('keydown',onKey)} 12if('loading'===document.readyState){document.addEventListener('DOMContentLoaded',init)}else{init()}}())
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.