// 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 ../../core/accessorSupport/decorators/property ../../core/has ../../core/Logger ../../core/RandomLCG ../../core/accessorSupport/decorators/subclass ../../layers/support/ExportImageParameters ../../layers/support/timeSupport".split(" "),function(b,c,g,h,k,d,e,f){return a=>{a=class extends a{initialize(){this.exportImageParameters=new e.ExportImageParameters({layer:this.layer})}destroy(){this.exportImageParameters.destroy();this.exportImageParameters=null}get floors(){return this.view?.floors?? null}get exportImageVersion(){this.exportImageParameters?.commitProperty("version");this.commitProperty("timeExtent");this.commitProperty("floors");return(this._get("exportImageVersion")||0)+1}get timeExtent(){return f.combineTimeExtent(this.layer,this.view?.timeExtent,this._get("timeExtent"))}canResume(){return!super.canResume()||this.timeExtent?.isEmpty?!1:!0}};b.__decorate([c.property()],a.prototype,"exportImageParameters",void 0);b.__decorate([c.property({readOnly:!0})],a.prototype,"floors",null); b.__decorate([c.property({readOnly:!0})],a.prototype,"exportImageVersion",null);b.__decorate([c.property()],a.prototype,"layer",void 0);b.__decorate([c.property()],a.prototype,"suspended",void 0);b.__decorate([c.property({readOnly:!0})],a.prototype,"timeExtent",null);return a=b.__decorate([d.subclass("esri.views.layers.MapImageLayerView")],a)}});