import{isSceneLayerExtension as e}from"../../utilities/extensions.js";import{SceneLayerQueryProvider as r}from"../query/SceneLayerQueryProvider.js";import{HitTestIdentifyProvider as i}from"./HitTestIdentifyProvider.js";export class SceneLayerHitTestIdentifyProvider extends i{queryProvider=new r;isSupported(r,i,t){return super.isSupported(r,i,t)&&e(r)&&"scene"===r.mapExtension?.viewMode&&!!r._layerView?.view}_supportsQuery(e){return!!e.layer?.associatedLayer||!!e._layerView}}