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