//>>built
define("dojox/color/NeutralColorModel",["dojo/_base/array","dojo/_base/declare","./SimpleColorModel"],function(k,l,m){return l("dojox.color.NeutralColorModel",m,{_min:0,_max:0,_e:0,constructor:function(a,f){},initialize:function(a,f){var d=[],g=0,c=1E8,e=-c;k.forEach(a,function(b){b=f(b);c=Math.min(c,b);e=Math.max(e,b);g+=b;d.push(b)});d.sort(function(b,a){return b-a});var h=this.computeNeutral(c,e,g,d);this._min=c;this._max=e;this._e=this._min==this._max||h==this._min?-1:Math.log(.5)/Math.log((h-
this._min)/(this._max-this._min))},computeNeutral:function(a,f,d,g){},getNormalizedValue:function(a){if(0>this._e)return 0;a=(a-this._min)/(this._max-this._min);return Math.pow(a,this._e)}})});