/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as o}from"tslib";import{subclass as e}from"../../../core/accessorSupport/decorators.js";import r from"../SizeSlider/SizeSliderViewModel.js";let s=class extends r{constructor(o){super(o)}set stops(o){super.stops=o}getStopInfo(){const{min:o,max:e,stops:r}=this;return r?.length?r.map(r=>({color:r.color,offset:(e-r.value)/(e-o)})):[]}};s=o([e("esri.widgets.smartMapping.ColorSizeSlider.ColorSizeSliderViewModel")],s);const t=s;export{t as default};
