// All material copyright Esri, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.30/esri/copyright.txt for details. //>>built define("../../chunks/tslib.es6 ../../geometry ../../TimeExtent ../../core/deprecate ../../core/JSONSupport ../../core/lang ../../core/Logger ../../core/accessorSupport/decorators/property ../../core/has ../../core/accessorSupport/decorators/subclass ../../core/accessorSupport/decorators/writer ../../geometry/support/jsonUtils ../../layers/support/MosaicRule ../../layers/support/RasterFunction ../../geometry/Point".split(" "),function(b,m,n,f,a,p,g,c,w,q,r,h,t,k,u){var e;a=e=class extends a.JSONSupport{constructor(){super(...arguments); this.pixelSize=this.rasterFunction=this.mosaicRule=this.geometry=null;this.raster=void 0;this.timeExtent=null}writeGeometry(d,l,v){null!=d&&(l.geometryType=h.getJsonType(d),l[v]=d.toJSON())}get renderingRule(){f.deprecatedProperty(g.getLogger(this),"renderingRule",{replacement:"rasterFunction",version:"4.27",warnOnce:!0});return this._get("rasterFunction")}set renderingRule(d){f.deprecatedProperty(g.getLogger(this),"renderingRule",{replacement:"rasterFunction",version:"4.27",warnOnce:!0});this._set("rasterFunction", d)}clone(){return new e(p.clone({geometry:this.geometry,mosaicRule:this.mosaicRule,rasterFunction:this.rasterFunction,pixelSize:this.pixelSize,raster:this.raster,timeExtent:this.timeExtent}))}};b.__decorate([c.property({types:m.geometryTypes,json:{read:h.fromJSON}})],a.prototype,"geometry",void 0);b.__decorate([r.writer("geometry")],a.prototype,"writeGeometry",null);b.__decorate([c.property({type:t,json:{write:!0}})],a.prototype,"mosaicRule",void 0);b.__decorate([c.property({type:k})],a.prototype, "renderingRule",null);b.__decorate([c.property({type:k,json:{write:!0,name:"renderingRule"}})],a.prototype,"rasterFunction",void 0);b.__decorate([c.property({type:u,json:{write:!0}})],a.prototype,"pixelSize",void 0);b.__decorate([c.property({json:{write:!0}})],a.prototype,"raster",void 0);b.__decorate([c.property({type:n,json:{read:{source:"time"},write:{target:"time"}}})],a.prototype,"timeExtent",void 0);return a=e=b.__decorate([q.subclass("esri.rest.support.ImageHistogramParameters")],a)});