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