/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
var n=class e{constructor(t){this._value=t}get value(){return this._value/100}get percent(){return this._value}toString(){return""+this._value+"%"}interpolate(t,r){return t+this.value*(r-t)}static normalize(t,r,u){return t instanceof e?t:r===u?new e(0):new e(Math.min(Math.max((t-r)*(1/(u-r)),0),1)*100)}};function o(e){return new n(e)}var s=o(0),a=o(100),i=o(50);function c(e){return e instanceof n}export{n as a,o as b,s as c,a as d,i as e,c as f};
