1(function($) 2{$.fn.avia_sc_animated_number=function(options) 3{if(!this.length)return;if(this.is('.avia_sc_animated_number_active'))return;this.addClass('avia_sc_animated_number_active');var simple_upcount=(options&&options.simple_up)?true:false,start_timer=(options&&options.start_timer)?options.start_timer:300,format_number=function(number,number_format,final_number) 4{var prepend='',addZeros=final_number.toString().length-number.toString().length;for(var i=addZeros;i>0;i--) 5{prepend+='0';} 6number=(simple_upcount)?number.toString():prepend+number.toString();if(''==number_format) 7{return number;} 8return number.split(/(?=(?:...)*$)/).join(number_format);},start_count=function(element,countTo,increment,current,fakeCountTo,number_format) 9{var newCount=current+increment,final='';if(newCount>=fakeCountTo) 10{final=format_number(countTo,number_format,countTo);element.text(final);} 11else 12{final=format_number(newCount,number_format,countTo);element.text(final);window.requestAnimationFrame(function(){start_count(element,countTo,increment,newCount,fakeCountTo,number_format);});}};return this.each(function() 13{var number_container=$(this),elements=number_container.find('.__av-single-number'),countTimer=number_container.data('timer')||3000;elements.each(function(i) 14{var element=$(this),text=element.text();if(window.addEventListener)element.text(text.replace(/./g,"0"));});number_container.addClass('number_prepared').on('avia_start_animation',function() 15{if(number_container.is('.avia_animation_done'))return;number_container.addClass('avia_animation_done');elements.each(function(i) 16{var element=$(this),countTo=element.data('number'),fakeCountTo=countTo,current=parseInt(element.text(),10),zeroOnly=/^0+$/.test(countTo),increment=0,number_format='';if('undefined'!=typeof element.data('start_from')) 17{current=element.data('start_from');} 18if('undefined'!=typeof element.data('number_format')) 19{number_format=element.data('number_format');} 20if(zeroOnly&&countTo!==0) 21{fakeCountTo=countTo.replace(/0/g,'9');} 22increment=Math.round(fakeCountTo*32/countTimer);if(increment==0||increment%10==0)increment+=1;setTimeout(function(){start_count(element,countTo,increment,current,fakeCountTo,number_format);},start_timer);});});if(options&&options.instant_start==true) 23{number_container.trigger('avia_start_animation');}});};})(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.