import{isStreamLayer as e}from"../../utilities/_layers.js";import{isWebScene as r}from"../../utilities/mapping.js";import{ClientSideQueryProvider as i}from"./ClientSideQueryProvider.js";export class StreamLayerClientSideQueryProvider extends i{get _waitForUpdatingFinished(){return!1}isSupported(i){const t=i._layerView&&r(i.mapExtension?.map),{layer:s}=i;return e(s)&&!t}_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}}