<commit_before>/*
 * jQuery Rotator Plugin
 *
 * @author: <NAME> <<EMAIL>>
 */
 
/**
 * <p>The Rotator Plug-In is a simple slideshow plugin that enable rotation in between 
 * two or more elements including images, divs, anchors, etc. It also has an API that 
 * allows the fallowing functions: stop, play, next, prev, jump and index, this funtions 
 * allow controlling the cycleling options from an anchor, button or any other element.</p>
 * 
 * <p>The plugin provides a method called rotator which is invoked on a container 
 * element. Each child element of the container becomes 
 * a "slide". Options control how and when the slides are transitioned. </p>
 *
 * <strong>Quick example:</strong> 
 * <pre>$('#myDivContainer').rotator();</pre> 
 *
 * @module rotator
 * @requires jquery
 */
(function ($) {

	/**
	 * <p>This class enables rotation in between two or more elements including images, 
	 * divs, anchors, etc.</p>
	 *
	 * <strong>Usage example:</strong>
	 * <pre>$('#myDiv').rotator({speed: 1500, delay: 2000});</pre> 
	 * <p>This will enable rotation for the child elements in a div with id "myDiv" 
	 * with a 1500 millisecond transition speed and 2000 milliseconds delay.</p>
	 *
	 * @class fn.rotator
	 * @constructor
	 * @param options {Object} (Optional) An object containing one or more global options
	 * @return {Object} jQuery object that can be used for chaning.
	 */
    $.fn.rotator = function (options) {
        
		// Check if there are elements, if not just return
		if (!this.length) {        
			return this;
		}

		// Wrap the rotator internal function in the public function
        return new rotator(this, options);
    };
	
    // ROTATOR
    var rotator = function (e, options) {
			
		var 

		// Default public values			
		defaults = {
			
			/**
			 * Rotation delay time
			 *
			 * @public
			 * @property delay
			 * @type Number
			 * @default 5000<commit_msg>fixing indent<commit_after>/*
 * jQuery Rotator Plugin
 *
 * @author: <NAME> <<EMAIL>>
 */
 
/**
 * <p>The Rotator Plug-In is a simple slideshow plugin that enable rotation in between 
 * two or more elements including images, divs, anchors, etc. It also has an API that 
 * allows the fallowing functions: stop, play, next, prev, jump and index, this funtions 
 * allow controlling the cycleling options from an anchor, button or any other element.</p>
 * 
 * <p>The plugin provides a method called rotator which is invoked on a container 
 * element. Each child element of the container becomes 
 * a "slide". Options control how and when the slides are transitioned. </p>
 *
 * <strong>Quick example:</strong> 
 * <pre>$('#myDivContainer').rotator();</pre> 
 *
 * @module rotator
 * @requires jquery
 */
(function ($) {

	/**
	 * <p>This class enables rotation in between two or more elements including images, 
	 * divs, anchors, etc.</p>
	 *
	 * <strong>Usage example:</strong>
	 * <pre>$('#myDiv').rotator({speed: 1500, delay: 2000});</pre> 
	 * <p>This will enable rotation for the child elements in a div with id "myDiv" 
	 * with a 1500 millisecond transition speed and 2000 milliseconds delay.</p>
	 *
	 * @class fn.rotator
	 * @constructor
	 * @param options {Object} (Optional) An object containing one or more global options
	 * @return {Object} jQuery object that can be used for chaning.
	 */
    $.fn.rotator = function (options) {
        
		// Check if there are elements, if not just return
		if (!this.length) {        
			return this;
		}

		// Wrap the rotator internal function in the public function
		return new rotator(this, options);
    };
	
    // ROTATOR
    var rotator = function (e, options) {
			
		var 

		// Default public values			
		defaults = {
			
			/**
			 * Rotation delay time
			 *
			 * @public
			 * @property delay
			 * @type Number
			 * @default 5000
{'fraction_non_alphanumeric': 0.11239495798319328, 'fraction_numerical': 0.01050420168067227, 'mean_word_length': 3.0179324894514767, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4465925', 'n_tokens_mistral': 1234, 'n_tokens_neox': 1044, 'n_words': 444}