//>>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(b,f){},initialize:function(b,f){var d=[],g=0,c=1E8,e=-c;k.forEach(b,function(a){a=f(a);c=Math.min(c,a);e=Math.max(e,a);g+=a;d.push(a)});d.sort(function(a,n){return a-n});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(b,f,d,g){},getNormalizedValue:function(b){if(0>this._e)return 0;b=(b-this._min)/(this._max-this._min);return Math.pow(b,this._e)}})});