PageSourceSearch

https://movinginnovember.fi/wp-content/cache/autoptimize/js/autopt…b1f44e3f3c37e112c35fb10ffe9bdee.js?ver=0.55

js movinginnovember.fi collected 2026-10-02 08:40:38 UTC 1,667 bytes, 9 lines download raw bytes

1(function(){var blurbody,container,button,menu,links,i,len;blurbody=document.getElementById('page');container=document.getElementById('site-navigation');if(!container){return;}
2button=container.getElementsByTagName('button')[0];if('undefined'===typeof button){return;}
3menu=container.getElementsByTagName('ul')[0];if('undefined'===typeof menu){button.style.display='none';return;}
4menu.setAttribute('aria-expanded','false');if(-1===menu.className.indexOf('nav-menu')){menu.className+=' nav-menu';}
5button.onclick=function(){if(-1!==container.className.indexOf('toggled')){container.className=container.className.replace(' toggled','');blurbody.className=blurbody.className.replace(' blurred','');button.setAttribute('aria-expanded','false');menu.setAttribute('aria-expanded','false');}else{container.className+=' toggled';blurbody.className+=' blurred';button.setAttribute('aria-expanded','true');menu.setAttribute('aria-expanded','true');}};const linksWithChildren=container.querySelectorAll('.menu-item-has-children > a, .page_item_has_children > a');for(const link of linksWithChildren){link.addEventListener('click',toggleFocus,false);link.addEventListener('touchstart',toggleFocus,false);}
6function toggleFocus(){if(event.type==='focus'||event.type==='blur'||event.type==='click'){let self=this;while(!self.classList.contains('nav-menu')){if('li'===self.tagName.toLowerCase()){self.classList.toggle('focus');}
7self=self.parentNode;}}
8if(event.type==='touchstart'){const menuItem=this.parentNode;event.preventDefault();for(const link of menuItem.parentNode.children){if(menuItem!==link){link.classList.remove('focus');}}
9menuItem.classList.toggle('focus');}}})();

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.