/*
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","../core/jsonMap","../core/JSONSupport","../core/accessorSupport/decorators/property","../core/arrayUtils","../core/has","../core/accessorSupport/ensureType","../core/accessorSupport/decorators/subclass","./support/AuthoringInfo"],(function(e,r,t,n,o,i,s,u,a,c){"use strict";const p=new t.JSONMap({simple:"simple",uniqueValue:"unique-value",classBreaks:"class-breaks",heatmap:"heatmap",dotDensity:"dot-density",dictionary:"dictionary",pieChart:"pie-chart"},{ignoreUnknown:!0});let l=function(r){function t(e){var t;return(t=r.call(this,e)||this).authoringInfo=null,t.type=null,t}e._inheritsLoose(t,r);var n=t.prototype;return n.getRequiredFields=function(){var r=e._asyncToGenerator((function*(e){if(!this.collectRequiredFields)return[];const r=new Set;return yield this.collectRequiredFields(r,e),Array.from(r).sort()}));function t(e){return r.apply(this,arguments)}return t}(),n.getSymbol=function(e,r){},n.getSymbolAsync=function(){var r=e._asyncToGenerator((function*(e,r){}));function t(e,t){return r.apply(this,arguments)}return t}(),n.getSymbols=function(){return[]},n.getAttributeHash=function(){return JSON.stringify(this)},n.getMeshHash=function(){return JSON.stringify(this)},t}(n.JSONSupport);r.__decorate([o.property({type:c,json:{write:!0}})],l.prototype,"authoringInfo",void 0),r.__decorate([o.property({type:p.apiValues,readOnly:!0,json:{type:p.jsonValues,read:!1,write:{writer:p.write,ignoreOrigin:!0}}})],l.prototype,"type",void 0),l=r.__decorate([a.subclass("esri.renderers.Renderer")],l);return l}));
