/*
	Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/


window[esri._dojoScopeName||"dojo"]._xdResourceLoaded(function(_1,_2,_3){return {depends:[["provide","dijit.form.HorizontalRuleLabels"],["require","dijit.form.HorizontalRule"]],defineResource:function(_4,_5,_6){if(!_4._hasResource["dijit.form.HorizontalRuleLabels"]){_4._hasResource["dijit.form.HorizontalRuleLabels"]=true;_4.provide("dijit.form.HorizontalRuleLabels");_4.require("dijit.form.HorizontalRule");_4.declare("dijit.form.HorizontalRuleLabels",_5.form.HorizontalRule,{templateString:"<div class=\"dijitRuleContainer dijitRuleContainerH dijitRuleLabelsContainer dijitRuleLabelsContainerH\"></div>",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"<div class=\"dijitRuleLabelContainer dijitRuleLabelContainerH\" style=\"left:",_labelPrefix:"\"><div class=\"dijitRuleLabel dijitRuleLabelH\">",_suffix:"</div></div>",_calcPosition:function(_7){return _7;},_genHTML:function(_8,_9){return this._positionPrefix+this._calcPosition(_8)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[_9]+this._suffix;},getLabels:function(){var _a=this.labels;if(!_a.length){_a=_4.query("> li",this.srcNodeRef).map(function(_b){return String(_b.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_a.length&&this.count>1){var _c=this.minimum;var _d=(this.maximum-_c)/(this.count-1);for(var i=0;i<this.count;i++){_a.push((i<this.numericMargin||i>=(this.count-this.numericMargin))?"":_4.number.format(_c,this.constraints));_c+=_d;}}return _a;},postMixInProperties:function(){this.inherited(arguments);this.labels=this.getLabels();this.count=this.labels.length;}});}}};});