//>>built define("dojo/_base/declare dojo/_base/lang dojo/dom-attr dojo/dom-class dojo/mouse dojo/on dojo/string dojo/query dijit/form/_FormWidget".split(" "),function(k,d,f,e,l,c,g,h,m){return k("dojox.form.Rating",m,{templateString:null,numStars:3,value:0,buildRendering:function(a){for(var b='\x3clabel class\x3d"dojoxRatingStar dijitInline ${hidden}"\x3e\x3cspan class\x3d"dojoxRatingLabel"\x3e${value} stars\x3c/span\x3e\x3cinput type\x3d"radio" name\x3d"rating-'+Math.random().toString(36).substring(2)+'" value\x3d"${value}" dojoAttachPoint\x3d"focusNode" class\x3d"dojoxRatingInput"\x3e\x3c/label\x3e', c='\x3cdiv dojoAttachPoint\x3d"domNode" class\x3d"dojoxRating dijitInline"\x3e\x3cdiv data-dojo-attach-point\x3d"list"\x3e'+g.substitute(b,{value:0,hidden:"dojoxRatingHidden"})+"${stars}\x3c/div\x3e\x3c/div\x3e",d="",e=0;ea?(e.remove(c,"dojoxRatingStarHover"),e.remove(c,"dojoxRatingStarChecked")):(e.remove(c,"dojoxRatingStar"+(b?"Checked":"Hover")),e.add(c,"dojoxRatingStar"+(b?"Hover":"Checked")))})},onStarChange:function(a){a=+f.get(a.target,"value");this.setAttribute("value",a==this.value?0:a);this._renderStars(this.value);this.onChange(this.value)},onStarClick:function(a, b){},onMouseOver:function(){},setAttribute:function(a,b){this.set(a,b)},_setValueAttr:function(a){this._set("value",a);this._renderStars(a);var b=h("input[type\x3dradio]",this.domNode)[a];b&&(b.checked=!0);this.onChange(a)}})});