/*
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","../../PopupTemplate","../../renderers/ClassBreaksRenderer","../../renderers/DictionaryRenderer","../../renderers/DotDensityRenderer","../../renderers/HeatmapRenderer","../../renderers/PieChartRenderer","../../renderers/Renderer","../../renderers/SimpleRenderer","../../renderers/UniqueValueRenderer","../../renderers/support/jsonUtils","../../renderers/support/types","../../core/lang","../../core/accessorSupport/decorators/property","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/enumeration","../../core/accessorSupport/decorators/subclass","./AggregateField","./commonProperties","./FeatureReduction","./LabelClass"],(function(e,r,o,t,n,p,i,s,l,a,d,u,c,b,y,f,_,g,m,v,h,w){"use strict";var R;let I=R=function(r){function o(e){var o;return(o=r.call(this,e)||this).type="binning",o.fixedBinLevel=3,o.labelingInfo=null,o.labelsVisible=!0,o.popupEnabled=!0,o.popupTemplate=null,o.fields=[],o}return e._inheritsLoose(o,r),o.prototype.clone=function(){return new R({fields:b.clone(this.fields),fixedBinLevel:this.fixedBinLevel,labelingInfo:b.clone(this.labelingInfo),labelsVisible:this.labelsVisible,popupEnabled:this.popupEnabled,popupTemplate:b.clone(this.popupTemplate),renderer:b.clone(this.renderer)})},o}(h.FeatureReduction);r.__decorate([_.enumeration({binning:"binning"})],I.prototype,"type",void 0),r.__decorate([y.property({type:Number,json:{write:!0}})],I.prototype,"fixedBinLevel",void 0),r.__decorate([y.property({type:[w],json:{read:{source:"drawingInfo.labelingInfo"},write:{target:"drawingInfo.labelingInfo"}}})],I.prototype,"labelingInfo",void 0),r.__decorate([y.property(v.labelsVisible)],I.prototype,"labelsVisible",void 0),r.__decorate([y.property(v.popupEnabled)],I.prototype,"popupEnabled",void 0),r.__decorate([y.property({type:o,json:{name:"popupInfo",write:!0}})],I.prototype,"popupTemplate",void 0),r.__decorate([y.property({type:[m],json:{write:!0,origins:{"web-document":{write:!1},"portal-item":{write:!1}}}})],I.prototype,"fields",void 0),r.__decorate([y.property({types:c.rendererTypes,json:{write:!0}})],I.prototype,"renderer",void 0),I=R=r.__decorate([g.subclass("esri.layers.support.FeatureReductionBinning")],I);return I}));
