import{isSceneLayer as e}from"../../utilities/layers.js";import{ClientSideIdentifyProvider as t}from"./ClientSideIdentifyProvider.js";export class SceneLayerClientSideIdentifyProvider extends t{isSupported(t,r,i){return e(t.layer)}_createQuery(e,t,r){const{mapExtension:i,_layerView:l,featureSettings:o}=e,s=l.createQuery();return s.geometry=t,s.outFields=r.outFields||o.outFields,s.outSpatialReference=r.outSpatialReference,s.maxAllowableOffset=r.maxAllowableOffset,s.num=r.maxResults,s.returnZ="scene"===i.viewMode,s}}