PageSourceSearch

https://www.zerounoweb.it/wp-content/cache/perfmatters/www.zerouno…/fdd77e193295.nojquery_toc.min.js?ver=1

js zerounoweb.it collected 2026-10-02 04:59:49 UTC 2,553 bytes, 9 lines download raw bytes

1window.addEventListener('load',()=>{enableScrollOnClick();showAllChevrons(!1);customizeShowHideLabel()})
2window.addEventListener('click',(e)=>{const buttonNode=e.target.closest('.show-more');if(!buttonNode){return}
3e.preventDefault();const postId=buttonNode.dataset.show;showAllChevrons(document.querySelector(`.article_class[data-id='${ postId }']`))})
4const handleAnchorScroll=function(event){const target=event.target;if('A'!==target.nodeName||!target.className.includes('ez-toc-link')){return}
5event.preventDefault();const destination=target.getAttribute('href').split('#');const headerOffset=140;const element=document.getElementById(destination[1]);let offsetPosition=element.offsetTop-headerOffset;if(element.offsetParent&&element.offsetParent.nodeName==='DIV'&&element.offsetParent.classList.contains('wp-block-column')){offsetPosition=offsetPosition+element.offsetParent.offsetTop}
6window.scrollTo({top:offsetPosition,behavior:'smooth',})};const handleShowHideLabel=function(event){const target=event.target;if(!target?.className?.includes){return}
7const isP=target.className.includes('ez-toc-title');const isA=target.className.includes('ez-toc-toggle');const isI=target.className.includes('ez-toc-title-toggle');const shouldExit=isP||isA||isI?!1:!0;if(shouldExit){return}
8const chevron=target.parentNode.querySelector('.ez-toc-title-toggle');const ezContainer=target.closest('#ez-toc-container').querySelector('nav');if(chevron.dataset.icon==='arrow_drop_down'){chevron.dataset.icon='arrow_drop_up';ezContainer.style.display='block';return}
9chevron.dataset.icon='arrow_drop_down';ezContainer.style.display='none'};const showAllChevrons=function(node){const wrapper=node?node:document;const toggles=wrapper.querySelectorAll('.ez-toc-title-toggle');toggles.forEach(function(toggle){toggle.classList.add('material-symbols-outlined');toggle.dataset.icon='arrow_drop_up';toggle.parentNode.style.display='inline'});const ezContainers=wrapper.querySelectorAll('#ez-toc-container');ezContainers.forEach(function(container){const elements=container.querySelectorAll('.ez-toc-link');if(Object.keys(elements).length>15){const theNav=container.querySelector('nav');theNav.style.display='none';toggles.forEach(function(toggle){toggle.dataset.icon='arrow_drop_down'})}})};const enableScrollOnClick=function(){const main=document.getElementsByTagName('main');main[0]?.addEventListener('click',handleAnchorScroll)};const customizeShowHideLabel=function(){const main=document.getElementsByTagName('main');main[0]?.addEventListener('click',handleShowHideLabel)}

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.