PageSourceSearch

https://ritzherald.com/wp-content/themes/ritzherald/library/js/lib…8ec'%20defer%20onload=''%20defer%20onload='

js ritzherald.com collected 2026-09-24 09:02:35 UTC 2,099 bytes, 8 lines download raw bytes

1/*
2jQuery countTo Plugin
3=====================
4[jQuery countTo](https://github.com/mhuggins/jquery-countTo) is a
5[jQuery](http://jquery.com) plugin that will count up (or down) to a target
6number at a specified speed, rendered within an HTML DOM element.
7*/
8(function ($) { $.fn.countTo = function (options) { options = options || {};  return $(this).each(function () { /*set options for current element*/ var settings = $.extend({}, $.fn.countTo.defaults, { from:            $(this).data('from'), to:              $(this).data('to'), speed:           $(this).data('speed'), refreshInterval: $(this).data('refresh-interval'), decimals:        $(this).data('decimals') }, options);  /*how many times to update the value, and how much to increment the value on each update*/ var loops = Math.ceil(settings.speed / settings.refreshInterval), increment = (settings.to - settings.from) / loops;  /*references & variables that will change with each update*/ var self = this, $self = $(this), loopCount = 0, value = settings.from, data = $self.data('countTo') || {};  $self.data('countTo', data);  /*if an existing interval can be found, clear it first*/ if (data.interval) { clearInterval(data.interval); } data.interval = setInterval(updateTimer, settings.refreshInterval);  /*initialize the element with the starting value*/ render(value);  function updateTimer() { value += increment; loopCount++;  render(value);
8  if (typeof(settings.onUpdate) == 'function') { settings.onUpdate.call(self, value); }  if (loopCount >= loops) { /*remove the interval*/ $self.removeData('countTo'); clearInterval(data.interval); value = settings.to;  if (typeof(settings.onComplete) == 'function') { settings.onComplete.call(self, value); } } }  function render(value) { var formattedValue = settings.formatter.call(self, value, settings); $self.text(formattedValue); } }); };  $.fn.countTo.defaults = { from: 0, to: 0, speed: 1000, refreshInterval: 100, decimals: 0, formatter: formatter, onUpdate: null, onComplete: null };  function formatter(value, settings) { return value.toFixed(settings.decimals); } }(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.