/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../../../chunks/_rollupPluginBabelHelpers","../../../chunks/tslib.es6","../../../Color","../../../core/JSONSupport","../../../core/screenUtils","../../../core/accessorSupport/decorators/property","../../../core/arrayUtils","../../../core/has","../../../core/accessorSupport/ensureType","../../../core/accessorSupport/decorators/subclass","../../../core/accessorSupport/decorators/writer"],(function(e,r,o,t,l,s,p,c,u,i,a){"use strict";var n;let y=n=function(r){function o(e){var o;return(o=r.call(this,e)||this).color=null,o.label=null,o.size=null,o.value=null,o}e._inheritsLoose(o,r);var t=o.prototype;return t.writeValue=function(e,r,o){r[o]=null==e?0:e},t.clone=function(){return new n({color:this.color,label:this.label,size:this.size,value:this.value})},o}(t.JSONSupport);r.__decorate([s.property({type:o,json:{type:[u.Integer],write:!0}})],y.prototype,"color",void 0),r.__decorate([s.property({type:String,json:{write:!0}})],y.prototype,"label",void 0),r.__decorate([s.property({type:Number,cast:l.toPt,json:{write:!0}})],y.prototype,"size",void 0),r.__decorate([s.property({type:Number,json:{write:{allowNull:!0}}})],y.prototype,"value",void 0),r.__decorate([a.writer("value")],y.prototype,"writeValue",null),y=n=r.__decorate([i.subclass("esri.renderers.visualVariables.support.ColorSizeStop")],y);return y}));
