1! 2function(t) { 3 "use strict"; 4 t.fn.countUp = function(e) { 5 var a = t.extend({ 6 time: 2e3, 7 delay: 10 8 }, 9 e); 10 return this.each(function() { 11 var e = t(this), 12 n = a, 13 u = function() { 14 e.data("counterupTo") || e.data("counterupTo", e.text()); 15 var t = parseInt(e.data("counter-time")) > 0 ? parseInt(e.data("counter-time")) : n.time, 16 a = parseInt(e.data("counter-delay")) > 0 ? parseInt(e.data("counter-delay")) : n.delay, 17 u = t / a, 18 r = e.data("counterupTo"), 19 o = [r], 20 c = /[0-9]+,[0-9]+/.test(r); 21 r = r.replace(/,/g, ""); 22 for (var d = (/^[0-9]+$/.test(r), /^[0-9]+\.[0-9]+$/.test(r)), s = d ? (r.split(".")[1] || []).length: 0, i = u; i >= 1; i--) { 23 var p = parseInt(Math.round(r / u * i)); 24 if (d && (p = parseFloat(r / u * i).toFixed(s)), c) for (; 25 /(\d+)(\d{3})/.test(p.toString());) p = p.toString().replace(/(\d+)(\d{3})/, "$1,$2"); 26 o.unshift(p) 27 } 28 e.data("counterup-nums", o), 29 e.text("0"); 30 var f = function() { 31 if (e.data('counterup-nums')) { 32 e.text(e.data("counterup-nums").shift()), 33 e.data("counterup-nums").length ? setTimeout(e.data("counterup-func"), a) : (e.data("counterup-nums"), e.data("counterup-nums", null), e.data("counterup-func", null)) 34 } 35 }; 36 e.data("counterup-func", f), 37 setTimeout(e.data("counterup-func"), a) 38 }; 39 e.waypoint(u, { 40 offset: "100%", 41 triggerOnce: !0 42 }) 43 }) 44 } 45} (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.