/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
class t{constructor(t,i,h){this.geometry=t,this.targetRanges=i,this._highlightName=null,this.updateHighlightOptions(h)}updateHighlightOptions(t){const{geometry:i}=this;if(!i.hasHighlights)return void(this._highlightName=null);let h=-1,e=null;i.foreachHighlightOptions(i=>{const s=t.get(i)??-1;s>h&&(h=s,e=i)}),this._highlightName=e}get highlightName(){return this._highlightName}get isVisible(){return this.geometry.visible}get hasHighlights(){return this.isVisible&&this.geometry.hasHighlights}get hasOccludees(){return null!=this.geometry.occludees}}export{t as Instance};
