1(function($){"use strict";$(".switch").on('click',function(){if($("body").hasClass("light")){$("body").removeClass("light");$(".switch").removeClass("switched");} 2else{$("body").addClass("light");$(".switch").addClass("switched");}});$(document).ready(function(){"use strict";var progressPath=document.querySelector('.progress-wrap path');var pathLength=progressPath.getTotalLength();progressPath.style.transition=progressPath.style.WebkitTransition='none';progressPath.style.strokeDasharray=pathLength+' '+pathLength;progressPath.style.strokeDashoffset=pathLength;progressPath.getBoundingClientRect();progressPath.style.transition=progressPath.style.WebkitTransition='stroke-dashoffset 10ms linear';var updateProgress=function(){var scroll=$(window).scrollTop();var height=$(document).height()-$(window).height();var progress=pathLength-(scroll*pathLength/height);progressPath.style.strokeDashoffset=progress;} 3updateProgress();$(window).scroll(updateProgress);var offset=50;var duration=550;jQuery(window).on('scroll',function(){if(jQuery(this).scrollTop()>offset){jQuery('.progress-wrap').addClass('active-progress');}else{jQuery('.progress-wrap').removeClass('active-progress');}});jQuery('.progress-wrap').on('click',function(event){event.preventDefault();jQuery('html, body').animate({scrollTop:0},duration);return false;})});})(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.