/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as e}from"tslib";import has from"../../../core/has.js";import{watch as r,initial as i}from"../../../core/reactiveUtils.js";import{subclass as t}from"../../../core/accessorSupport/decorators.js";import{FeatureLikeLayerView2D as s}from"./FeatureLikeLayerView2D.js";import a from"../../layers/SubtypeGroupLayerView.js";let o=class extends(s(a)){initialize(){this.addHandles([r(()=>this.view.scale,()=>this._update(),i)],"constructor")}isUpdating(){const e=this.layer.sublayers.some(e=>null!=e.renderer),r=this._commandsQueue.updateTracking.updating,i=null!=this._updatingRequiredPromise,t=!this._workerProxy,s=this.dataUpdating,a=e&&(r||i||t||s);return has("esri-2d-log-updating")&&console.log(`Updating FLV2D: ${a}\n  -> hasRenderer ${e}\n  -> hasPendingCommand ${r}\n  -> updatingRequiredFields ${i}\n  -> updatingProxy ${t}\n  -> updatingPipeline ${s}\n`),a}};o=e([t("esri.views.2d.layers.SubtypeGroupLayerView2D")],o);const n=o;export{n as default};
