/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../chunks/_rollupPluginBabelHelpers","../utils","./operations/pbfJSONFeatureSet","./operations/query","../support/FeatureSet","../support/Query"],(function(e,r,t,n,u,o,a){"use strict";function i(e,r,t){return s.apply(this,arguments)}function s(){return(s=r._asyncToGenerator((function*(e,r,t){const n=yield p(e,a.from(r),t);return o.fromJSON(n)}))).apply(this,arguments)}function p(e,r,t){return c.apply(this,arguments)}function c(){return(c=r._asyncToGenerator((function*(e,r,o){const i=t.parseUrl(e),s={...o},p=a.from(r),c=!p.quantizationParameters,{data:l}=yield u.executeQueryPBF(i,p,new n.JSONFeatureSetParserContext({sourceSpatialReference:p.sourceSpatialReference,applyTransform:c}),s);return l}))).apply(this,arguments)}e.executeQueryPBF=i,e.executeRawQueryPBF=p,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
