import{isStreamLayer as e}from"../../utilities/_layers.js";import{isWebScene as r}from"../../utilities/mapping.js";import{ClientSideIdentifyProvider as i}from"./ClientSideIdentifyProvider.js";export class StreamLayerClientSideQueryIdentifyProvider extends i{isSupported(i,t,s){const o=i._layerView&&r(i.mapExtension?.map),{layer:n}=i;return e(n)&&!o}_createQuery(e,r,i){const t=super._createQuery(e,r,i),s=t.outFields?.findIndex((e=>"__esri_stream_id__"===e))??-1;return s>=0&&t.outFields.splice(s,1),t}}