import{isPoint as e}from"../../utilities/esri.js";import{isFeatureLayerExtension as r}from"../../utilities/extensions.js";import{isVolumetric as t}from"../../utilities/symbol.js";import{FeatureLayerQueryProvider as i}from"../query/FeatureLayerQueryProvider.js";import{HitTestIdentifyProvider as s}from"./HitTestIdentifyProvider.js";export class FeatureLayer3DHitTestIdentifyProvider extends s{queryProvider=new i;isSupported(i,s,o){return super.isSupported(i,s,o)&&r(i)&&"scene"===i.mapExtension?.viewMode&&(i.layer.hasZ||(n=i.layer.renderer??void 0,"simple"===n?.type&&t(n.symbol))||function(e){return"class-breaks"===e?.type&&e.classBreakInfos.map((e=>e.symbol)).some(t)}(i.renderer)||function(e){return("unique-value"===e?.type&&e.uniqueValueInfos?.map((e=>e.symbol)).some(t))??!1}(i.layer.renderer??void 0))&&s&&!!i._layerView?.view?.extent?.intersects(e(s)?s:s.extent);var n}}