// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
define(["dojo/dom-class"],function(a){return{MIN_RINGS_VALUE:0,MAX_RINGS_VALUE:1E3,MIN_DTWT_VALUE:0,MAX_DTWT_VALUE:300,validateInvalidValues:function(c,d,g,e,k){var f=c.get("value"),l=d.get("value"),b=g.get("value"),h=!0;0<f.length&&null===this._tryParseFloat(f)?(h=!1,a.remove(e,"hidden"),e.innerHTML=k,a.add(c.domNode,"invalidValue")):a.remove(c.domNode,"invalidValue");0<l.length&&null===this._tryParseFloat(l)?(h=!1,a.remove(e,"hidden"),e.innerHTML=k,a.add(d.domNode,"invalidValue")):a.remove(d.domNode,
"invalidValue");0<b.length&&null===this._tryParseFloat(b)?(h=!1,a.remove(e,"hidden"),e.innerHTML=k,a.add(g.domNode,"invalidValue")):a.remove(g.domNode,"invalidValue");h&&a.add(e,"hidden");return h},validateMinMaxValues:function(c,d,g,e,k,f,l){var b=c.get("value"),h=d.get("value"),n=g.get("value"),m=!0;0<b.length?(b=parseFloat(b),b<e||b>k?(m=!1,a.remove(f,"hidden"),f.innerHTML=l,a.add(c.domNode,"invalidValue")):a.remove(c.domNode,"invalidValue")):a.remove(c.domNode,"invalidValue");0<h.length?(b=parseFloat(h),
b<e||b>k?(m=!1,a.remove(f,"hidden"),f.innerHTML=l,a.add(d.domNode,"invalidValue")):a.remove(d.domNode,"invalidValue")):a.remove(d.domNode,"invalidValue");0<n.length?(b=parseFloat(n),b<e||b>k?(m=!1,a.remove(f,"hidden"),f.innerHTML=l,a.add(g.domNode,"invalidValue")):a.remove(g.domNode,"invalidValue")):a.remove(g.domNode,"invalidValue");m&&a.add(f,"hidden");return m},_tryParseFloat:function(c){var d=null;null!==c&&0<c.length&&(isNaN(c)||(d=parseFloat(c)));return d}}});