import{isGeoJSONLayerExtension as e}from"../../utilities/extensions.js";import{isVolumetric as r}from"../../utilities/symbol.js";import{GeoJSONLayerClientSideQueryProvider as i}from"../query/GeoJSONLayerClientSideQueryProvider.js";import{HitTestIdentifyProvider as s}from"./HitTestIdentifyProvider.js";export class GeoJSONLayer3DHitTestIdentifyProvider extends s{queryProvider=new i;isSupported(i,s,o){return super.isSupported(i,s,o)&&e(i)&&"scene"===i.mapExtension?.viewMode&&!!i._layerView?.view&&(i.layer.capabilities?.data?.supportsZ||(t=i.layer.renderer??void 0,("simple"===t?.type&&r(t.symbol))??!1)||function(e){return("class-breaks"===e?.type&&e.classBreakInfos.map((e=>e.symbol)).some(r))??!1}(i.renderer)||function(e){return("unique-value"===e?.type&&e.uniqueValueInfos?.map((e=>e.symbol)).some(r))??!1}(i.layer.renderer??void 0));var t}_supportsQuery(){return!0}}