1(function($){function generateTableOfContents(){let ToC="<nav role='navigation' class='table_of_content'>"+"<h2>"+contents+"</h2>"+"<ul>";let newLine,el,title,link;let i=1;$(".post_main h2").each(function(){el=$(this);title=el.text().replace(/\d+\./g,'');el.attr('id','title'+i);link="#"+el.attr("id");newLine="<li>"+"<a href='"+link+"'>"+(i++)+". "+title+"</a>"+"</li>";ToC+=newLine});ToC+="</ul>"+"</nav>";if(i>1){$(".post_size").append(ToC);$(".toc_mobile").append(ToC)} 2$(".table_of_content a").click(function(){$('html, body').animate({scrollTop:$($(this).attr("href")).offset().top-100},800)})} 3function manageStickyElement(){if($('#sticker')[0]&&window.matchMedia("(min-width: 800px)").matches){var stickyTop=$('#sticker').offset().top;$(window).scroll(function(){const windowTop=$(window).scrollTop();const postLength=$(".post_lenght");const postBottom=postLength.height()+postLength.offset().top-$("#sticker").height();if(stickyTop<windowTop+100&&postBottom>windowTop+100){$('#sticker').addClass('sticky-b')}else{$('#sticker').removeClass('sticky-b')} 4if(postBottom<windowTop+100){$('#sticker').addClass('sticky-b2')}else{$('#sticker').removeClass('sticky-b2')}})}} 5document.addEventListener('DOMContentLoaded',function(){generateTableOfContents();manageStickyElement()})})(jQuery)
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.