<commit_before>/** @module deliteful/StarRating */
define([
	"requirejs-dplugins/has",
	"dpointer/events",
	"delite/keys",
	"requirejs-dplugins/jquery!attributes/classes",
	"delite/register",
	"delite/FormValueWidget",
	"requirejs-dplugins/has!bidi?./StarRating/bidi/StarRating",
	"requirejs-dplugins/i18n!./StarRating/nls/StarRating",
	"delite/uacss", // to use dedicated CSS styles in IE9
	"delite/theme!./StarRating/themes/{{theme}}/StarRating.css",
	"requirejs-dplugins/has!bidi?delite/theme!./StarRating/themes/{{theme}}/StarRating_rtl.css"
], function (has, pointer, keys, $,
			register, FormValueWidget, BidiStarRating, messages) {

	/**
	 * A widget that displays a rating, usually with stars, and that allows setting a different rating value
	 * by touching the stars.
	 * Its custom element tag is `d-star-rating`.
	 * 
	 * @class module:deliteful/StarRating
	 * @augments delite/FormValueWidget
	 */
	var StarRating = register.dcl([FormValueWidget], /** @lends module:deliteful/StarRating# */ {
		/**
		 * The name of the CSS class of this widget.
		 * @member {string}
		 * @default "d-star-rating"
		 */
		baseClass: "d-star-rating",

		/**
		 * The maximum rating, that is also the number of stars to show.
		 * @member {number}
		 * @default 5
		 */<commit_msg>StarRating should not import uscss, it is not being used. fixes #461.<commit_after>/** @module deliteful/StarRating */
define([
	"requirejs-dplugins/has",
	"dpointer/events",
	"delite/keys",
	"requirejs-dplugins/jquery!attributes/classes",
	"delite/register",
	"delite/FormValueWidget",
	"requirejs-dplugins/has!bidi?./StarRating/bidi/StarRating",
	"requirejs-dplugins/i18n!./StarRating/nls/StarRating",
	"delite/theme!./StarRating/themes/{{theme}}/StarRating.css",
	"requirejs-dplugins/has!bidi?delite/theme!./StarRating/themes/{{theme}}/StarRating_rtl.css"
], function (has, pointer, keys, $,
			register, FormValueWidget, BidiStarRating, messages) {

	/**
	 * A widget that displays a rating, usually with stars, and that allows setting a different rating value
	 * by touching the stars.
	 * Its custom element tag is `d-star-rating`.
	 * 
	 * @class module:deliteful/StarRating
	 * @augments delite/FormValueWidget
	 */
	var StarRating = register.dcl([FormValueWidget], /** @lends module:deliteful/StarRating# */ {
		/**
		 * The name of the CSS class of this widget.
		 * @member {string}
		 * @default "d-star-rating"
		 */
		baseClass: "d-star-rating",

		/**
		 * The maximum rating, that is also the number of stars to show.
		 * @member {number}
		 * @default 5
		 */
{'fraction_non_alphanumeric': 0.14794520547945206, 'fraction_numerical': 0.003913894324853229, 'mean_word_length': 4.081510934393638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5343394', 'n_tokens_mistral': 930, 'n_tokens_neox': 823, 'n_words': 197}