import{isGeoRssLayerExtension as e}from"../../utilities/extensions.js";import{GeoRSSLayerQueryProvider as t}from"../query/GeoRSSLayerQueryProvider.js";import{IdentifyProviderBase as r}from"./IdentifyProviderBase.js";export class GeoRSSLayerIdentifyProvider extends r{_provider=new t;isSupported(t,r,o){return e(t)}_identify(e,t,r){const o=e,s={cancelToken:r.cancelToken,outFields:r.outFields??e.featureSettings.outFields,returnGeometry:r.returnGeometry,spatialFilter:t,maxResults:r.maxResults};return this._provider.query(o,"1=1",s)}_count(e,t,r){const o=e,s={cancelToken:r.cancelToken,spatialFilter:t,maxResults:r.maxResults,returnGeometry:r.returnGeometry,outFields:r.outFields??e.featureSettings.outFields};return this._provider.count(o,"1=1",s)}}