1(function($) 2{"use strict";$(function() 3{$('.avia_auto_toc').each(function() 4{var $toc_section=$(this).attr('id');var $levels='h1';var $levelslist=new Array();var $excludeclass='';var $toc_container=$(this).find('.avia-toc-container');if($toc_container.length) 5{var $levels_attr=$toc_container.attr('data-level');var $excludeclass_attr=$toc_container.attr('data-exclude');if(typeof $levels_attr!='undefined') 6{$levels=$levels_attr;} 7if(typeof $excludeclass_attr!='undefined') 8{$excludeclass=$excludeclass_attr.trim();}} 9$levelslist=$levels.split(',');$('.entry-content-wrapper').find($levels).each(function() 10{var headline=$(this);if(headline.hasClass('av-no-toc')) 11{return;} 12if($excludeclass!=''&&(headline.hasClass($excludeclass)||headline.parent().hasClass($excludeclass))) 13{return;} 14var $h_id=headline.attr('id');var $tagname=headline.prop('tagName').toLowerCase();var $txt=headline.text();var $pos=$levelslist.indexOf($tagname);if(typeof $h_id=='undefined') 15{var $new_id=av_pretty_url($txt);headline.attr('id',$new_id);$h_id=$new_id;} 16var $list_tag='<a href="#'+$h_id+'" class="avia-toc-link avia-toc-level-'+$pos+'"><span>'+$txt+'</span></a>';$toc_container.append($list_tag);});$(".avia-toc-smoothscroll .avia-toc-link").on('click',function(e) 17{e.preventDefault();var $target=$(this).attr('href');var $offset=50;var $sticky_header=$('.html_header_top.html_header_sticky #header');if($sticky_header.length) 18{$offset=$sticky_header.outerHeight()+50;} 19$('html,body').animate({scrollTop:$($target).offset().top-$offset});});});});function av_pretty_url(text) 20{return text.replace(/[ÃÃÃäöüÃ]/g,function(match){return{"Ã":"Ae","Ã":"Oe","Ã":"Ue","ä":"ae","ö":"oe","ü":"ue","Ã":"ss"}[match];}).toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"-").replace(/^-+|-+$/g,'');}})(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.