/*
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","../../engine/FeatureContainer","./GraphicBoundsRenderer","../../../webgl/enums"],(function(e,n,t,i){"use strict";return function(n){function r(e){var t;return(t=n.call(this,e)||this).hasHighlight=()=>!0,t}e._inheritsLoose(r,n);var s=r.prototype;return s.destroy=function(){n.prototype.destroy.call(this),this._boundsRenderer&&(this._boundsRenderer.destroy(),this._boundsRenderer=null)},s.enableRenderingBounds=function(e){this._boundsRenderer=new t(e),this.requestRender()},s.onTileData=function(e,n){e.patch(n),this.contains(e)||this.addChild(e),this.requestRender()},s.onTileError=function(e){e.clear(),this.contains(e)||this.addChild(e)},s._renderChildren=function(e,n){for(const t of this.children)t.isReady&&t.hasData&&(t.commit(e),e.context.setStencilFunction(i.CompareFunction.EQUAL,t.stencilRef,255),t._displayList.replay(e,t,n))},e._createClass(r,[{key:"hasLabels",get:function(){return!1}}]),r}(n.FeatureContainer)}));
