????

Your IP : 18.227.183.215


Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/
Upload File :
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/11-es2015.js

(function(){
var absMids = {
	"esri/layers/graphics/data/AttributesBuilder":"./node_modules/arcgis-js-api/layers/graphics/data/AttributesBuilder.js",
	"esri/layers/graphics/data/BoundsStore":"./node_modules/arcgis-js-api/layers/graphics/data/BoundsStore.js",
	"esri/layers/graphics/data/FeatureStore":"./node_modules/arcgis-js-api/layers/graphics/data/FeatureStore.js",
	"esri/layers/graphics/data/QueryEngine":"./node_modules/arcgis-js-api/layers/graphics/data/QueryEngine.js",
	"esri/layers/graphics/data/QueryEngineResult":"./node_modules/arcgis-js-api/layers/graphics/data/QueryEngineResult.js",
	"esri/layers/graphics/data/executeTileQuery":"./node_modules/arcgis-js-api/layers/graphics/data/executeTileQuery.js",
	"esri/layers/support/PromiseQueue":"./node_modules/arcgis-js-api/layers/support/PromiseQueue.js"
};
var globalObj = this||window;
var jsonpArray = globalObj["webpackJsonp"] = globalObj["webpackJsonp"] || [];
if (jsonpArray.registerAbsMids) {
   jsonpArray.registerAbsMids(absMids);
} else {
   var absMidsWaiting = jsonpArray.absMidsWaiting = jsonpArray.absMidsWaiting || [];
   absMidsWaiting.push(absMids);
}
})(),(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[11],{

/***/ "./node_modules/arcgis-js-api/layers/graphics/data/AttributesBuilder.js":
/*!******************************************************************************!*\
  !*** ./node_modules/arcgis-js-api/layers/graphics/data/AttributesBuilder.js ***!
  \******************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.

!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../../core/maybe */ "./node_modules/arcgis-js-api/core/maybe.js"),__webpack_require__(/*! ./attributeSupport */ "./node_modules/arcgis-js-api/layers/graphics/data/attributeSupport.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,a,i){Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t,a){this._fieldDataCache=new Map,this._returnDistinctMap=new Map,this.returnDistinctValues=e.returnDistinctValues,this.fieldsIndex=a,this.featureAdapter=t;var s=e.outFields;if(s&&-1===s.indexOf("*")){this.outFields=s;for(var r=0,u=0,l=s;u<l.length;u++){var n=l[u],h=i.getExpressionFromFieldName(n),c=this.fieldsIndex.get(h),o=c?null:i.getWhereClause(h,a),d=c?c.name:i.getAliasFromFieldName(n)||"FIELD_EXP_"+r++;this._fieldDataCache.set(n,{alias:d,clause:o})}}}return e.prototype.getAttributes=function(e){var t=this._processAttributesForOutFields(e);return this._processAttributesForDistinctValues(t)},e.prototype.getFieldValue=function(e,t,a){var s=a?a.name:t,r=null;return this._fieldDataCache.has(s)?r=this._fieldDataCache.get(s).clause:a||(r=i.getWhereClause(t,this.fieldsIndex),this._fieldDataCache.set(s,{alias:s,clause:r})),a?this.featureAdapter.getAttribute(e,s):r.calculateValue(e,this.featureAdapter)},e.prototype.validateItem=function(e,t){return this._fieldDataCache.has(t)||this._fieldDataCache.set(t,{alias:t,clause:i.getWhereClause(t,this.fieldsIndex)}),this._fieldDataCache.get(t).clause.testFeature(e,this.featureAdapter)},e.prototype.validateItems=function(e,t){return this._fieldDataCache.has(t)||this._fieldDataCache.set(t,{alias:t,clause:i.getWhereClause(t,this.fieldsIndex)}),this._fieldDataCache.get(t).clause.testSet(e,this.featureAdapter)},e.prototype._processAttributesForOutFields=function(e){var t=this.outFields;if(!t||!t.length)return this.featureAdapter.getAttributes(e);for(var a={},i=0,s=t;i<s.length;i++){var r=s[i],u=this._fieldDataCache.get(r),l=u.alias,n=u.clause;a[l]=n?n.calculateValue(e,this.featureAdapter):this.featureAdapter.getAttribute(e,l)}return a},e.prototype._processAttributesForDistinctValues=function(e){if(a.isNone(e)||!this.returnDistinctValues)return e;var t=this.outFields,i=[];if(t)for(var s=0,r=t;s<r.length;s++){var u=r[s],l=this._fieldDataCache.get(u).alias;i.push(e[l])}else for(var l in e)i.push(e[l]);var n=(t||["*"]).join(",")+"="+i.join(","),h=this._returnDistinctMap.get(n)||0;return this._returnDistinctMap.set(n,++h),h>1?null:e},e}();t.default=s}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));

/***/ }),

/***/ "./node_modules/arcgis-js-api/layers/graphics/data/BoundsStore.js":
/*!************************************************************************!*\
  !*** ./node_modules/arcgis-js-api/layers/graphics/data/BoundsStore.js ***!
  \************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.

!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../../core/has */ "./node_modules/arcgis-js-api/core/has.js"),__webpack_require__(/*! ../../../core/libs/rbush/rbush */ "./node_modules/arcgis-js-api/core/libs/rbush/rbush.js"),__webpack_require__(/*! @dojo/framework/shim/Promise */ "./node_modules/@dojo/framework/shim/Promise.mjs")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(n,i,e,t){function d(n,i){return o.minX=i[0],o.minY=i[1],o.maxX=i[2],o.maxY=i[3],n.search(o)}Object.defineProperty(i,"__esModule",{value:!0});var o={minX:0,minY:0,maxX:0,maxY:0},s=function(){function n(){var n=this;this._indexInvalid=!1,this._boundsToLoad=[],this._boundsById=new Map,this._idByBounds=new Map,this._index=t(9,e("csp-restrictions")?function(n){return{minX:n[0],minY:n[1],maxX:n[2],maxY:n[3]}}:["[0]","[1]","[2]","[3]"]),this._loadIndex=function(){if(n._indexInvalid){var i=new Array(n._idByBounds.size),e=0;n._idByBounds.forEach(function(n,t){i[e++]=t}),n._indexInvalid=!1,n._index.clear(),n._index.load(i)}else n._boundsToLoad.length&&(n._index.load(n._boundsToLoad.filter(function(i){return n._idByBounds.has(i)})),n._boundsToLoad.length=0)}}return n.prototype.clear=function(){this._indexInvalid=!1,this._boundsToLoad.length=0,this._boundsById.clear(),this._idByBounds.clear(),this._index.clear()},n.prototype.delete=function(n){var i=this._boundsById.get(n);this._boundsById.delete(n),i&&(this._idByBounds.delete(i),this._indexInvalid||this._index.remove(i))},n.prototype.forEachInBounds=function(n,i){this._loadIndex();for(var e=0,t=d(this._index,n);e<t.length;e++){var o=t[e];i(this._idByBounds.get(o))}},n.prototype.get=function(n){return this._boundsById.get(n)},n.prototype.has=function(n){return this._boundsById.has(n)},n.prototype.invalidateIndex=function(){this._indexInvalid||(this._indexInvalid=!0,this._boundsToLoad.length=0)},n.prototype.set=function(n,i){if(!this._indexInvalid){var e=this._boundsById.get(n);e&&(this._index.remove(e),this._idByBounds.delete(e))}this._boundsById.set(n,i),i&&(this._idByBounds.set(i,n),this._indexInvalid||this._boundsToLoad.push(i))},n}();i.BoundsStore=s}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));

/***/ }),

/***/ "./node_modules/arcgis-js-api/layers/graphics/data/FeatureStore.js":
/*!*************************************************************************!*\
  !*** ./node_modules/arcgis-js-api/layers/graphics/data/FeatureStore.js ***!
  \*************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.

!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../../core/tsSupport/generatorHelper */ "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"),__webpack_require__(/*! ../../../core/tsSupport/awaiterHelper */ "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"),__webpack_require__(/*! ../../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"),__webpack_require__(/*! ../../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"),__webpack_require__(/*! ../../../core/Error */ "./node_modules/arcgis-js-api/core/Error.js"),__webpack_require__(/*! ../../../core/Evented */ "./node_modules/arcgis-js-api/core/Evented.js"),__webpack_require__(/*! ../../../core/Logger */ "./node_modules/arcgis-js-api/core/Logger.js"),__webpack_require__(/*! ../../../core/maybe */ "./node_modules/arcgis-js-api/core/maybe.js"),__webpack_require__(/*! ../../../geometry/support/aaBoundingBox */ "./node_modules/arcgis-js-api/geometry/support/aaBoundingBox.js"),__webpack_require__(/*! ../../../geometry/support/aaBoundingRect */ "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js"),__webpack_require__(/*! ../../../geometry/support/spatialReferenceUtils */ "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"),__webpack_require__(/*! ../featureConversionUtils */ "./node_modules/arcgis-js-api/layers/graphics/featureConversionUtils.js"),__webpack_require__(/*! ./BoundsStore */ "./node_modules/arcgis-js-api/layers/graphics/data/BoundsStore.js"),__webpack_require__(/*! ./executeTileQuery */ "./node_modules/arcgis-js-api/layers/graphics/data/executeTileQuery.js"),__webpack_require__(/*! ./optimizedFeatureQueryEngineAdapter */ "./node_modules/arcgis-js-api/layers/graphics/data/optimizedFeatureQueryEngineAdapter.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,r,o,n,i,s,a,u,d,h,f,c,p,y,l,g){Object.defineProperty(t,"__esModule",{value:!0});var m=u.getLogger("esri.layers.graphics.data.FeatureStore"),I=function(){function e(e){this.geometryInfo=e,this._boundsStore=new y.BoundsStore,this._featuresById=new Map,this._markedIds=new Set,this.events=new a,this.featureAdapter=g.optimizedFeatureQueryEngineAdapter}return Object.defineProperty(e.prototype,"geometryType",{get:function(){return this.geometryInfo.geometryType},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasM",{get:function(){return this.geometryInfo.hasM},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasZ",{get:function(){return this.geometryInfo.hasZ},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"numFeatures",{get:function(){return this._featuresById.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullBounds",{get:function(){var e=this;if(!this.numFeatures)return null;var t=f.create(f.NEGATIVE_INFINITY);return this._featuresById.forEach(function(r){var o=e._boundsStore.get(r.objectId);o&&(t[0]=Math.min(o[0],t[0]),t[1]=Math.min(o[1],t[1]),t[2]=Math.max(o[2],t[2]),t[3]=Math.max(o[3],t[3]))}),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"storeStatistics",{get:function(){var e=0;return this._featuresById.forEach(function(t){t.geometry&&t.geometry.coords&&(e+=t.geometry.coords.length)}),{featureCount:this._featuresById.size,vertexCount:e/(this.hasZ?this.hasM?4:3:this.hasM?3:2)}},enumerable:!0,configurable:!0}),e.prototype.add=function(e){this._add(e),this._emitChanged()},e.prototype.addMany=function(e){for(var t=0,r=e;t<r.length;t++){var o=r[t];this._add(o)}this._emitChanged()},e.prototype.clear=function(){this._featuresById.clear(),this._boundsStore.clear(),this._emitChanged()},e.prototype.removeById=function(e){var t=this._featuresById.get(e);return t?(this._remove(t),this._emitChanged(),t):null},e.prototype.removeManyById=function(e){this._boundsStore.invalidateIndex();for(var t=0,r=e;t<r.length;t++){var o=r[t],n=this._featuresById.get(o);n&&this._remove(n)}this._emitChanged()},e.prototype.forEachBounds=function(e,t,r){for(var o=0,n=e;o<n.length;o++){var i=n[o],s=this._boundsStore.get(i.objectId);s&&t(h.fromRect(r,s))}},e.prototype.getFeature=function(e){return this._featuresById.get(e)},e.prototype.has=function(e){return this._featuresById.has(e)},e.prototype.forEach=function(e){this._featuresById.forEach(function(t){return e(t)})},e.prototype.forEachInBounds=function(e,t){var r=this;this._boundsStore.forEachInBounds(e,function(e){t(r._featuresById.get(e))})},e.prototype.startMarkingUsedFeatures=function(){this._boundsStore.invalidateIndex(),this._markedIds.clear()},e.prototype.sweep=function(){var e=this,t=!1;this._featuresById.forEach(function(r,o){e._markedIds.has(o)||(t=!0,e._remove(r))}),this._markedIds.clear(),t&&this._emitChanged()},e.prototype.executeTileQuery=function(e,t,n){return o(this,void 0,void 0,function(){var o,i,s,a,u,d,h,p,y,g,m,I,_,b;return r(this,function(r){return o=n.returnGeometry,i=n.returnCentroid,s=n.returnOutline,a=n.pixelBuffer,u=new Set,d=[],h=a*e.resolution,p=f.pad(e.bounds,h,f.create()),l.createTileFeatures(d,u,this.geometryInfo,this,p,o,i,s,{originPosition:"upperLeft",scale:[e.resolution,e.resolution],translate:[e.bounds[0],e.bounds[3]]}),("esriGeometryPoint"===this.geometryType||i)&&(y=c.getInfo(t))&&(g=y.valid,m=g[0],I=g[1],p[0]<m&&(_=f.fromValues(I-h,p[1],I,p[3]),l.createTileFeatures(d,u,this.geometryInfo,this,_,o,i,s,{originPosition:"upperLeft",scale:[e.resolution,e.resolution],translate:[I,e.bounds[3]]})),p[2]>I&&(b=f.fromValues(m,p[1],m+h,p[3]),l.createTileFeatures(d,u,this.geometryInfo,this,b,o,i,s,{originPosition:"upperLeft",scale:[e.resolution,e.resolution],translate:[m-I+e.bounds[0],e.bounds[3]]}))),d.sort(function(e,t){return e.localId-t.localId}),[2,{features:d,objectIds:u}]})})},e.prototype._emitChanged=function(){this.events.emit("changed",void 0)},e.prototype._add=function(e){if(e){var t=e.objectId;if(null==t)return void m.error(new s("featurestore:invalid-feature","feature id is missing",{feature:e}));var r,o=this._featuresById.get(t);if(this._markedIds.add(t),o?(e.localId=o.localId,r=this._boundsStore.get(t),this._boundsStore.delete(t)):d.isSome(this.onFeatureAdd)&&this.onFeatureAdd(e),!e.geometry||!e.geometry.coords||!e.geometry.coords.length)return this._boundsStore.set(t,null),void this._featuresById.set(t,e);r=p.getBoundsOptimizedGeometry(r||f.create(),e.geometry,this.geometryInfo.hasZ,this.geometryInfo.hasM),this._boundsStore.set(t,r),this._featuresById.set(t,e)}},e.prototype._remove=function(e){return d.isSome(this.onFeatureRemove)&&this.onFeatureRemove(e),this._markedIds.delete(e.objectId),this._boundsStore.delete(e.objectId),this._featuresById.delete(e.objectId),e},e}();t.default=I}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));

/***/ }),

/***/ "./node_modules/arcgis-js-api/layers/graphics/data/QueryEngine.js":
/*!************************************************************************!*\
  !*** ./node_modules/arcgis-js-api/layers/graphics/data/QueryEngine.js ***!
  \************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.

!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"),__webpack_require__(/*! ../../../core/tsSupport/generatorHelper */ "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"),__webpack_require__(/*! ../../../core/tsSupport/awaiterHelper */ "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"),__webpack_require__(/*! ../../../core/Error */ "./node_modules/arcgis-js-api/core/Error.js"),__webpack_require__(/*! ../../../core/iteratorUtils */ "./node_modules/arcgis-js-api/core/iteratorUtils.js"),__webpack_require__(/*! ../../../core/lang */ "./node_modules/arcgis-js-api/core/lang.js"),__webpack_require__(/*! ../../../core/Logger */ "./node_modules/arcgis-js-api/core/Logger.js"),__webpack_require__(/*! ../../../core/MemCache */ "./node_modules/arcgis-js-api/core/MemCache.js"),__webpack_require__(/*! ../../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"),__webpack_require__(/*! ../../../core/unitUtils */ "./node_modules/arcgis-js-api/core/unitUtils.js"),__webpack_require__(/*! ../../../geometry/support/aaBoundingBox */ "./node_modules/arcgis-js-api/geometry/support/aaBoundingBox.js"),__webpack_require__(/*! ../../../geometry/support/aaBoundingRect */ "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js"),__webpack_require__(/*! ../../../geometry/support/boundsUtils */ "./node_modules/arcgis-js-api/geometry/support/boundsUtils.js"),__webpack_require__(/*! ../../../geometry/support/jsonUtils */ "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"),__webpack_require__(/*! ../../../geometry/support/spatialReferenceUtils */ "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"),__webpack_require__(/*! ./attributeSupport */ "./node_modules/arcgis-js-api/layers/graphics/data/attributeSupport.js"),__webpack_require__(/*! ./projectionSupport */ "./node_modules/arcgis-js-api/layers/graphics/data/projectionSupport.js"),__webpack_require__(/*! ./QueryEngineCapabilities */ "./node_modules/arcgis-js-api/layers/graphics/data/QueryEngineCapabilities.js"),__webpack_require__(/*! ./QueryEngineResult */ "./node_modules/arcgis-js-api/layers/graphics/data/QueryEngineResult.js"),__webpack_require__(/*! ./spatialQuerySupport */ "./node_modules/arcgis-js-api/layers/graphics/data/spatialQuerySupport.js"),__webpack_require__(/*! ./timeSupport */ "./node_modules/arcgis-js-api/layers/graphics/data/timeSupport.js"),__webpack_require__(/*! ./utils */ "./node_modules/arcgis-js-api/layers/graphics/data/utils.js"),__webpack_require__(/*! ../../support/FieldsIndex */ "./node_modules/arcgis-js-api/layers/support/FieldsIndex.js"),__webpack_require__(/*! ../../support/PromiseQueue */ "./node_modules/arcgis-js-api/layers/support/PromiseQueue.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,r,n,i,s,u,a,o,c,h,l,f,d,p,y,m,_,g,x,S,Q,v,E,b,R){Object.defineProperty(t,"__esModule",{value:!0});var F=o.getLogger("esri.layers.graphics.data.QueryEngine"),I=function(){function e(e,t,r,n,i){void 0===t&&(t=null),this.attributes=e,this.geometry=r,this.centroid=n,this.filterFlags=i,this.groupId=-1,this.localId=t}return e}();t.Feature=I;var w=new Set,T=new c.MemCacheStorage(2e6),C=0,P=function(){function e(e){var t=this;this.capabilities={query:x.queryCapabilities},this.geometryType=e.geometryType,this.hasM=e.hasM,this.hasZ=e.hasZ,this.objectIdField=e.objectIdField,this.spatialReference=e.spatialReference,this.definitionExpression=e.definitionExpression,this.cacheSpatialQueries=e.cacheSpatialQueries||!1,this.featureStore=e.featureStore,this._changeHandle=this.featureStore.events.on("changed",function(){return t.clearCache()}),this.timeInfo=e.timeInfo,this.cacheSpatialQueries&&(this._geometryQueryCache=new c.MemCache(C+++"$$",T)),this.fieldsIndex=new b(e.fields),e.scheduler&&e.task&&(this._frameQueue=new R.PromiseQueue,this._frameTask=e.scheduler.registerTask(e.task,function(e){return t._update(e)},function(){return t._frameQueue.length>0}))}return e.prototype.destroy=function(){this._frameTask&&(this._frameTask.remove(),this._frameTask=null,this._frameQueue.cancelAll(),this._frameQueue=null),this.clearCache(),this._geometryQueryCache&&this._geometryQueryCache.destroy(),this._changeHandle&&(this._changeHandle.remove(),this._changeHandle=null),this.fieldsIndex.destroy()},Object.defineProperty(e.prototype,"featureAdapter",{get:function(){return this.featureStore.featureAdapter},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fullExtent",{get:function(){var e=this.featureStore.fullBounds;return e?{xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3],spatialReference:E.cleanFromGeometryEngine(this.spatialReference)}:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timeExtent",{get:function(){return this.timeInfo?this._timeExtent?this._timeExtent:(this._timeExtent=v.getTimeExtent(this.timeInfo,this.featureStore),this._timeExtent):null},enumerable:!0,configurable:!0}),e.prototype.clearCache=function(){this._geometryQueryCache&&this._geometryQueryCache.clear(),this._allItems=null,this._timeExtent=null},e.prototype.executeQuery=function(e,t){return void 0===e&&(e={}),i(this,void 0,void 0,function(){var t,r,i;return n(this,function(n){switch(n.label){case 0:t=a.clone(e),n.label=1;case 1:return n.trys.push([1,14,,15]),[4,this._schedule()];case 2:return n.sent(),[4,E.normalizeQuery(t,this.definitionExpression,this.spatialReference)];case 3:return t=n.sent(),[4,this._reschedule()];case 4:return n.sent(),[4,this._checkQuerySupport(t)];case 5:return t=n.sent(),[4,this._reschedule()];case 6:return n.sent(),[4,this._executeGeometryQuery(t)];case 7:return r=n.sent(),[4,this._reschedule()];case 8:return n.sent(),[4,r.executeObjectIdsQuery(t)];case 9:return r=n.sent(),[4,this._reschedule()];case 10:return n.sent(),[4,r.executeTimeQuery(t)];case 11:return r=n.sent(),[4,this._reschedule()];case 12:return n.sent(),[4,r.executeAttributesQuery(t)];case 13:return r=n.sent(),[3,15];case 14:if((i=n.sent())!==E.QUERY_ENGINE_EMPTY_RESULT)throw i;return r=new S.default([],null,this),[3,15];case 15:return[2,r.createQueryResponse(t)]}})})},e.prototype.executeQueryForCount=function(e,t){return void 0===e&&(e={}),i(this,void 0,void 0,function(){var t,r,i;return n(this,function(n){switch(n.label){case 0:t=a.clone(e),t.returnGeometry=!1,t.returnCentroid=!1,t.outSR=null,n.label=1;case 1:return n.trys.push([1,14,,15]),[4,this._schedule()];case 2:return n.sent(),[4,E.normalizeQuery(t,this.definitionExpression,this.spatialReference)];case 3:return t=n.sent(),[4,this._reschedule()];case 4:return n.sent(),[4,this._checkQuerySupport(t)];case 5:return t=n.sent(),[4,this._reschedule()];case 6:return n.sent(),[4,this._executeGeometryQuery(t)];case 7:return r=n.sent(),[4,this._reschedule()];case 8:return n.sent(),[4,r.executeObjectIdsQuery(t)];case 9:return r=n.sent(),[4,this._reschedule()];case 10:return n.sent(),[4,r.executeTimeQuery(t)];case 11:return r=n.sent(),[4,this._reschedule()];case 12:return n.sent(),[4,r.executeAttributesQuery(t)];case 13:return r=n.sent(),[2,r.size];case 14:if((i=n.sent())!==E.QUERY_ENGINE_EMPTY_RESULT)throw i;return[2,0];case 15:return[2]}})})},e.prototype.executeQueryForExtent=function(e,t){return void 0===e&&(e={}),i(this,void 0,void 0,function(){var t,r,i,s,u,o,c,c,c,h;return n(this,function(n){switch(n.label){case 0:t=a.clone(e),i=t.outSR,n.label=1;case 1:return n.trys.push([1,14,,15]),[4,this._schedule()];case 2:return n.sent(),[4,E.normalizeQuery(t,this.definitionExpression,this.spatialReference)];case 3:return t=n.sent(),[4,this._reschedule()];case 4:return n.sent(),[4,this._checkQuerySupport(t)];case 5:return t=n.sent(),t.returnGeometry=!0,t.returnCentroid=!1,t.outSR=null,[4,this._reschedule()];case 6:return n.sent(),[4,this._executeGeometryQuery(t)];case 7:return r=n.sent(),[4,this._reschedule()];case 8:return n.sent(),[4,r.executeObjectIdsQuery(t)];case 9:return r=n.sent(),[4,this._reschedule()];case 10:return n.sent(),[4,r.executeTimeQuery(t)];case 11:return r=n.sent(),[4,this._reschedule()];case 12:return n.sent(),[4,r.executeAttributesQuery(t)];case 13:return r=n.sent(),(s=r.size)?(f.set(A,f.NEGATIVE_INFINITY),this.featureStore.forEachBounds(r.items,function(e){return f.expand(A,e)},z),u={xmin:A[0],ymin:A[1],xmax:A[3],ymax:A[4],spatialReference:E.cleanFromGeometryEngine(this.spatialReference)},this.hasZ&&isFinite(A[2])&&isFinite(A[5])&&(u.zmin=A[2],u.zmax=A[5]),o=g.project(u,r.spatialReference,i),o.spatialReference=E.cleanFromGeometryEngine(i||this.spatialReference),o.xmax-o.xmin==0&&(c=l.getMetersPerUnitForSR(o.spatialReference),o.xmin-=c,o.xmax+=c),o.ymax-o.ymin==0&&(c=l.getMetersPerUnitForSR(o.spatialReference),o.ymin-=c,o.ymax+=c),this.hasZ&&null!=o.zmin&&null!=o.zmax&&o.zmax-o.zmin==0&&(c=l.getMetersPerUnitForSR(o.spatialReference),o.zmin-=c,o.zmax+=c),[2,{count:s,extent:o}]):[2,{count:s,extent:null}];case 14:if((h=n.sent())===E.QUERY_ENGINE_EMPTY_RESULT)return[2,{count:0,extent:null}];throw h;case 15:return[2]}})})},e.prototype.executeQueryForIds=function(e,t){return void 0===e&&(e={}),i(this,void 0,void 0,function(){return n(this,function(r){return[2,this.executeQueryForIdSet(e,t).then(function(e){return u.valuesOfSet(e)})]})})},e.prototype.executeQueryForIdSet=function(e,t){return void 0===e&&(e={}),i(this,void 0,void 0,function(){var t,r,i,s,u,o,c,h;return n(this,function(n){switch(n.label){case 0:t=a.clone(e),t.returnGeometry=!1,t.returnCentroid=!1,t.outSR=null,n.label=1;case 1:return n.trys.push([1,13,,14]),[4,this._schedule()];case 2:return n.sent(),[4,E.normalizeQuery(t,this.definitionExpression,this.spatialReference)];case 3:return t=n.sent(),[4,this._reschedule()];case 4:return n.sent(),[4,this._executeGeometryQuery(t)];case 5:return r=n.sent(),[4,this._reschedule()];case 6:return n.sent(),[4,r.executeObjectIdsQuery(t)];case 7:return r=n.sent(),[4,this._reschedule()];case 8:return n.sent(),[4,r.executeTimeQuery(t)];case 9:return r=n.sent(),[4,this._reschedule()];case 10:return n.sent(),[4,r.executeAttributesQuery(t)];case 11:return r=n.sent(),[4,this._reschedule()];case 12:for(n.sent(),i=r.items,s=new Set,u=0,o=i;u<o.length;u++)c=o[u],s.add(r.featureAdapter.getObjectId(c));return[2,s];case 13:if((h=n.sent())===E.QUERY_ENGINE_EMPTY_RESULT)return[2,new Set];throw h;case 14:return[2]}})})},e.prototype.executeQueryForLatestObservations=function(e,t){var r=this;return this.timeInfo?this.executeQuery(e,t).then(function(e){return r._filterLatest(e,r.timeInfo)}):void F.error(new s("invalid-query","Unable to make time-based query as the underlying service does include TimeInfo"))},e.prototype._schedule=function(e){return i(this,void 0,void 0,function(){return n(this,function(t){return this._frameQueue?[2,this._frameQueue.push(e).then(function(e){return e})]:[2,e]})})},e.prototype._reschedule=function(e){return i(this,void 0,void 0,function(){return n(this,function(t){return this._frameQueue?[2,this._frameQueue.unshift(e).then(function(e){return e})]:[2,e]})})},e.prototype._update=function(e){for(this._budget=e;!e.done&&this._frameQueue&&this._frameQueue.process();)e.madeProgress();this._budget=null},e.prototype._filterLatest=function(e,t){for(var n=t.trackIdField,i=t.startTimeField,s=t.endTimeField,u=s||i,a=new Map,o=[],c=0,h=e.features;c<h.length;c++){var l=h[c],f=l.attributes[n],d=l.attributes[u];(!a.has(f)||a.get(f).attributes[u]<d)&&a.set(f,l)}return a.forEach(function(e){return o.push(e)}),r({},e,{features:o})},e.prototype._getAll=function(){if(!this._allItems){var e=[];this.featureStore.forEach(function(t){return e.push(t)}),this._allItems=new S.default(e,null,this)}return this._allItems},e.prototype._executeGeometryQuery=function(e){return i(this,void 0,void 0,function(){var t,r,s,u,a,o,c,h,l,f,d,p,y,_,g,x,v,E,b,R,F,b,I,w,T,C=this;return n(this,function(P){switch(P.label){case 0:if(t=e.geometry,r=e.outSR,s=e.spatialRel,u=m.isValid(r)&&!m.equals(this.spatialReference,r),(a=this.cacheSpatialQueries?u?JSON.stringify({geometry:t,spatialRelationship:s,outSpatialReference:r}):JSON.stringify({geometry:t,spatialRelationship:s}):null)&&void 0!==(o=this._geometryQueryCache.get(a)))return[2,o];if(c=function(t){return i(C,void 0,void 0,function(){var i;return n(this,function(n){switch(n.label){case 0:return u&&(e.returnGeometry||e.returnCentroid)?[4,t.project(r)]:[3,2];case 1:return i=n.sent(),a&&this._geometryQueryCache.put(a,i,i.size||1),[2,i];case 2:return a&&this._geometryQueryCache.put(a,t,t.size||1),[2,t]}})})},!t)return[2,c(this._getAll())];if(h=this.featureAdapter,"esriSpatialRelDisjoint"!==s)return[3,5];if(l=this._searchFeatures(this._getQueryBBoxes(t)),!l.length)return[2,c(this._getAll())];for(p=new Set,y=0,_=l;y<_.length;y++)g=_[y],p.add(h.getObjectId(g));return[4,this._reschedule(p)];case 1:return p=P.sent(),x=0,f=new Array(p.size),this.featureStore.forEach(function(e){return f[x++]=e}),d=p,[4,this._reschedule()];case 2:return P.sent(),[4,Q.getSpatialQueryOperator(s,t,this)];case 3:return v=P.sent(),E=function(e){return!d.has(h.getObjectId(e))||v(h.getGeometry(e))},R=S.default.bind,[4,this._runSpatialFilter(f,E)];case 4:return b=new(R.apply(S.default,[void 0,P.sent(),t,this])),[2,c(b)];case 5:return F=this._searchFeatures(this._getQueryBBoxes(t)),F.length?(I=this._canExecuteSoloPass(t,e),I?[2,c(new S.default(F,t,this))]:[4,Q.getSpatialQueryOperator(s,t,this)]):(b=new S.default([],t,this),a&&this._geometryQueryCache.put(a,b,b.size||1),[2,b]);case 6:return w=P.sent(),[4,this._runSpatialFilter(F,function(e){return w(h.getGeometry(e))})];case 7:return T=P.sent(),[2,c(new S.default(T,t,this))]}})})},e.prototype._runSpatialFilter=function(e,t){return i(this,void 0,void 0,function(){var r,s,u,a=this;return n(this,function(o){return t?this._budget?(r=0,s=new Array,u=function(){return i(a,void 0,void 0,function(){var i;return n(this,function(n){switch(n.label){case 0:return r<e.length?(i=e[r],t(i)&&s.push(i),this._budget.done?[4,this._reschedule()]:[3,2]):[3,3];case 1:return n.sent(),[2,u()];case 2:return++r,[3,0];case 3:return[2]}})})},[2,this._reschedule().then(function(){return u()}).then(function(){return s})]):[2,e.filter(function(e){return t(e)})]:[2,e]})})},e.prototype._canExecuteSoloPass=function(e,t){var r=this.geometryType,n=t.spatialRel;return Q.canQueryWithRBush(e)&&("esriSpatialRelEnvelopeIntersects"===n||"esriGeometryPoint"===r&&("esriSpatialRelIntersects"===n||"esriSpatialRelContains"===n||"esriSpatialRelWithin"===n))},e.prototype._getQueryBBoxes=function(e){if(Q.canQueryWithRBush(e)){if(y.isExtent(e))return[d.fromValues(e.xmin,e.ymin,e.xmax,e.ymax)];if(y.isPolygon(e))return e.rings.map(function(e){return d.fromValues(Math.min(e[0][0],e[2][0]),Math.min(e[0][1],e[2][1]),Math.max(e[0][0],e[2][0]),Math.max(e[0][1],e[2][1]))})}return[p.getBoundsXY(d.create(),e)]},e.prototype._searchFeatures=function(e){for(var t=0,r=e;t<r.length;t++){var n=r[t];this.featureStore.forEachInBounds(n,function(e){w.add(e)})}var i=new Array(w.size),s=0;return w.forEach(function(e){return i[s++]=e}),w.clear(),i},e.prototype._checkQuerySupport=function(e){return i(this,void 0,void 0,function(){return n(this,function(t){if(e.distance<0||null!=e.geometryPrecision||e.multipatchOption||e.pixelSize||e.relationParam||e.text)throw new s("feature-store:unsupported-query","Unsupported query options",{query:e});return[2,h.all([this._checkAttributesQuerySupport(e),this._checkStatisticsQuerySupport(e),Q.checkSpatialQuerySupport(e,this.geometryType,this.spatialReference),g.checkProjectionSupport(this.spatialReference,e.outSR)]).then(function(){return e})]})})},e.prototype._checkAttributesQuerySupport=function(e){var t=e.outFields,r=e.orderByFields,n=e.returnDistinctValues;if(r&&r.length>0){var i=r.map(function(e){return e.indexOf(" ASC")>-1?e.split(" ASC")[0]:e.indexOf(" DESC")>-1?e.split(" DESC")[0]:e});_.validateFields(this.fieldsIndex,i,"orderByFields contains missing fields")}if(t&&t.length>0)_.validateFields(this.fieldsIndex,t,"outFields contains missing fields");else if(n)throw new s("feature-store:unsupported-query","outFields should be specified for returnDistinctValues",{query:e});_.validateWhere(this.fieldsIndex,e.where)},e.prototype._checkStatisticsQuerySupport=function(e){return i(this,void 0,void 0,function(){var t,r,i,u,a,o,c,h,l,f,d,p;return n(this,function(n){if(t=e.outStatistics,r=e.groupByFieldsForStatistics,i=e.having,u=r&&r.length,a=t&&t.length,i){if(!u||!a)throw new s("feature-store:unsupported-query","outStatistics and groupByFieldsForStatistics should be specified with having",{query:e});_.validateHaving(this.fieldsIndex,i,t)}if(a){if(o=t.some(function(e){return"exceedslimit"===e.statisticType}))return[2];for(c=t.map(function(e){return e.onStatisticField}),_.validateFields(this.fieldsIndex,c,"onStatisticFields contains missing fields"),u&&_.validateFields(this.fieldsIndex,r,"groupByFieldsForStatistics contains missing fields"),h=0,l=t;h<l.length;h++)if(f=l[h],d=f.onStatisticField,p=f.statisticType,(!u||"count"!==p)&&d&&_.hasInvalidFieldType(d,this.fieldsIndex))throw new s("feature-store:unsupported-query","outStatistics contains non-numeric fields",{definition:f,query:e})}return[2]})})},e}();t.default=P;var z=f.create(),A=f.create()}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));

/***/ }),

/***/ "./node_modules/arcgis-js-api/layers/graphics/data/QueryEngineResult.js":
/*!******************************************************************************!*\
  !*** ./node_modules/arcgis-js-api/layers/graphics/data/QueryEngineResult.js ***!
  \******************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.

!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"),__webpack_require__(/*! ../../../core/tsSupport/generatorHelper */ "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"),__webpack_require__(/*! ../../../core/tsSupport/awaiterHelper */ "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"),__webpack_require__(/*! ../../../core/iteratorUtils */ "./node_modules/arcgis-js-api/core/iteratorUtils.js"),__webpack_require__(/*! ../../../core/maybe */ "./node_modules/arcgis-js-api/core/maybe.js"),__webpack_require__(/*! ../../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"),__webpack_require__(/*! ../../../geometry/support/quantizationUtils */ "./node_modules/arcgis-js-api/geometry/support/quantizationUtils.js"),__webpack_require__(/*! ../../../geometry/support/spatialReferenceUtils */ "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"),__webpack_require__(/*! ../featureConversionUtils */ "./node_modules/arcgis-js-api/layers/graphics/featureConversionUtils.js"),__webpack_require__(/*! ./AttributesBuilder */ "./node_modules/arcgis-js-api/layers/graphics/data/AttributesBuilder.js"),__webpack_require__(/*! ./attributeSupport */ "./node_modules/arcgis-js-api/layers/graphics/data/attributeSupport.js"),__webpack_require__(/*! ./projectionSupport */ "./node_modules/arcgis-js-api/layers/graphics/data/projectionSupport.js"),__webpack_require__(/*! ./timeSupport */ "./node_modules/arcgis-js-api/layers/graphics/data/timeSupport.js"),__webpack_require__(/*! ./utils */ "./node_modules/arcgis-js-api/layers/graphics/data/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,r,i,s,a,n,o,u,l,h,f,c,p,d,m){Object.defineProperty(t,"__esModule",{value:!0});var y=function(){function e(e,t,r){this.items=e,this.queryGeometry=t,this.definitionExpression=r.definitionExpression,this.geometryType=r.geometryType,this.hasM=r.hasM,this.hasZ=r.hasZ,this.objectIdField=r.objectIdField,this.spatialReference=r.spatialReference,this.fieldsIndex=r.fieldsIndex,this.timeInfo=r.timeInfo,this.featureAdapter=r.featureAdapter}return Object.defineProperty(e.prototype,"size",{get:function(){return this.items.length},enumerable:!0,configurable:!0}),e.prototype.createQueryResponse=function(e){var t;if(e.outStatistics){t=e.outStatistics.some(function(e){return"exceedslimit"===e.statisticType})?this._createExceedsLimitQueryResponse(e):this._createStatisticsQueryResponse(e)}else t=this._createFeatureQueryResponse(e);return e.returnQueryGeometry&&(l.isValid(e.outSR)&&!l.equals(this.queryGeometry.spatialReference,e.outSR)?t.queryGeometry=m.cleanFromGeometryEngine(r({spatialReference:e.outSR},p.project(this.queryGeometry,this.queryGeometry.spatialReference,e.outSR))):t.queryGeometry=m.cleanFromGeometryEngine(r({spatialReference:e.outSR},this.queryGeometry))),t},e.prototype.executeAttributesQuery=function(t){var r=c.getWhereClause(t.where,this.fieldsIndex);if(!r)return o.resolve(this);if(r.isStandardized){for(var i=0,s=[],a=0,n=this.items;a<n.length;a++){var u=n[a];r.testFeature(u,this.featureAdapter)&&(s[i++]=u)}var l=new e(s,this.queryGeometry,this);return l.definitionExpression=t.where,o.resolve(l)}return o.reject(new TypeError("Where clause is not standardized"))},e.prototype.executeObjectIdsQuery=function(t){if(!t.objectIds||!t.objectIds.length)return o.resolve(this);var r=a.createSetFromValues(t.objectIds),i=this.featureAdapter.getObjectId;return o.resolve(new e(this.items.filter(function(e){return r.has(i(e))}),this.queryGeometry,this))},e.prototype.executeTimeQuery=function(t){var r=d.getTimeOperator(this.timeInfo,t.timeExtent,this.featureAdapter);if(!n.isSome(r))return o.resolve(this);var i=this.items.filter(r);return o.resolve(new e(i,this.queryGeometry,this))},e.prototype.project=function(t){return s(this,void 0,void 0,function(){var r,s,a,n=this;return i(this,function(i){switch(i.label){case 0:return!t||l.equals(this.spatialReference,t)?[2,this]:(r=this.featureAdapter,[4,p.projectMany(this.items.map(function(e){return m.getGeometry(n,r.getGeometry(e))}),this.spatialReference,t)]);case 1:return s=i.sent(),a=s.map(function(e,t){return r.cloneWithGeometry(n.items[t],h.convertFromGeometry(e,n.hasZ,n.hasM))}),[2,new e(a,this.queryGeometry,{definitionExpression:this.definitionExpression,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,objectIdField:this.objectIdField,spatialReference:t,fieldsIndex:this.fieldsIndex,timeInfo:this.timeInfo,featureAdapter:this.featureAdapter})]}})})},e.prototype._createFeatureQueryResponse=function(e){var t=this,r=this.items,i=this,s=i.geometryType,a=i.hasM,n=i.hasZ,o=i.objectIdField,l=i.spatialReference,h=e.outFields,f=e.outSR,c=e.quantizationParameters,p=e.resultRecordCount,d=e.resultOffset,y=e.returnZ,g=e.returnM,I=!1;if(null!=p&&null!=d){var v=d+p;I=r.length>v,r=r.slice(d,Math.min(r.length,v))}return{exceededTransferLimit:I,features:this._createFeatures(e,r),fields:h&&h.map(function(e){return t.fieldsIndex.get(e)}),geometryType:s,hasM:a&&g,hasZ:n&&y,objectIdFieldName:o,spatialReference:m.cleanFromGeometryEngine(f||l),transform:c&&u.toQuantizationTransform(c)||null}},e.prototype._createFeatures=function(e,t){var r=new f.default(e,this.featureAdapter,this.fieldsIndex),i=this,s=i.hasM,a=i.hasZ,n=e.orderByFields,o=e.quantizationParameters,l=e.returnGeometry,h=e.returnCentroid,c=e.maxAllowableOffset,p=e.returnZ,d=void 0!==p&&p,y=e.returnM,g=void 0!==y&&y,I=a&&d,v=s&&g,b=[],x=0;if(t.length&&n&&n.length){var F=n[0].split(" "),T=F[0],S=this.fieldsIndex.get(T),N="DESC"===F[1];t.sort(function(e,t){var i=r.getFieldValue(e,T,S),s=r.getFieldValue(t,T,S);if("number"==typeof i&&"number"==typeof s)return N?s-i:i-s;if("string"==typeof i&&"string"==typeof s){var a=i.toUpperCase(),n=s.toUpperCase();return(N?a>n:a<n)?-1:(N?a<n:a>n)?1:0}})}if(l||h){var R=u.toQuantizationTransform(o);if(l&&!h)for(var G=0,_=t;G<_.length;G++){var A=_[G];b[x++]={attributes:r.getAttributes(A),geometry:m.getGeometry(this,this.featureAdapter.getGeometry(A),c,R,I,v)}}else if(!l&&h)for(var E=0,q=t;E<q.length;E++){var A=q[E];b[x++]={attributes:r.getAttributes(A),centroid:m.transformCentroid(this,this.featureAdapter.getCentroid(A,this),R)}}else for(var M=0,V=t;M<V.length;M++){var A=V[M];b[x++]={attributes:r.getAttributes(A),centroid:m.transformCentroid(this,this.featureAdapter.getCentroid(A,this),R),geometry:m.getGeometry(this,this.featureAdapter.getGeometry(A),c,R,I,v)}}}else for(var j=0,C=t;j<C.length;j++){var A=C[j],P=r.getAttributes(A);P&&(b[x++]={attributes:P})}return b},e.prototype._createExceedsLimitQueryResponse=function(e){for(var t=!1,r=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY,a=0,n=e.outStatistics;a<n.length;a++){var o=n[a];if("exceedslimit"===o.statisticType){r=null!=o.maxPointCount?o.maxPointCount:Number.POSITIVE_INFINITY,i=null!=o.maxRecordCount?o.maxRecordCount:Number.POSITIVE_INFINITY,s=null!=o.maxVertexCount?o.maxVertexCount:Number.POSITIVE_INFINITY;break}}if("esriGeometryPoint"===this.geometryType)t=this.items.length>r;else if(this.items.length>i)t=!0;else{var u=this.hasZ?this.hasM?4:3:this.hasM?3:2,l=this.featureAdapter,h=this.items.reduce(function(e,t){var r=l.getGeometry(t);return e+(r&&r.coords.length||0)},0)/u;t=h>s}return{fields:[{name:"exceedslimit",type:"esriFieldTypeInteger",alias:"exceedslimit",sqlType:"sqlTypeInteger",domain:null,defaultValue:null}],features:[{attributes:{exceedslimit:Number(t)}}]}},e.prototype._createStatisticsQueryResponse=function(e){for(var t=new f.default(e,this.featureAdapter,this.fieldsIndex),r=e.outStatistics,i=[],s=[],a=e.groupByFieldsForStatistics,n=e.having,o=a&&a.length,u=o&&a[0],l=this.fieldsIndex.get(u),h=!l,c={},p={},d={},m={attributes:{}},y=0,g=r;y<g.length;y++){var I=g[y],v=I.outStatisticFieldName,b=I.statisticType,x="exceedslimit"!==b?I.onStatisticField:void 0,F=this.fieldsIndex.get(x),T=o&&(x===u||h)&&"count"===b;if(o){c[x]||(c[x]=this._calculateUniqueValues(t,u,l));var S=c[x];for(var N in S){var R=S[N],G=R.count,_=R.data,A=R.items;if(!n||t.validateItems(A,n)){var E=p[_]||{attributes:{}},q=null;if(T)q=G;else{var M=this._calculateStatistics(A,t,x,F),V="var"===b?"variance":b;q=M[V]}E.attributes[v]=q,E.attributes[h?"EXPR_1":u]=_,p[_]=E}}}else{d[x]||(d[x]=this._calculateStatistics(this.items,t,x,F));var M=d[x],V="var"===b?"variance":b;m.attributes[v]=M[V]}s.push({name:v,alias:v,type:"esriFieldTypeDouble"})}if(o)for(var j in p)i.push(p[j]);else i.push(m);return{fields:s,features:i}},e.prototype._calculateStatistics=function(e,t,r,i){for(var s=Number.POSITIVE_INFINITY,a=Number.NEGATIVE_INFINITY,n=null,o=null,u=null,l=null,h=[],f=0,c=0;c<e.length;c++){var p=e[c],d=t.getFieldValue(p,r,i);"string"==typeof d?f++:null==d||isNaN(d)||(n+=d,s=Math.min(s,d),a=Math.max(a,d),h.push(d),f++)}if(f){o=n/f;for(var m=0,y=0,g=h;y<g.length;y++){var d=g[y];m+=Math.pow(d-o,2)}l=f>1?m/(f-1):0,u=Math.sqrt(l)}else s=null,a=null;return{avg:o,count:f,max:a,min:s,stddev:u,sum:n,variance:l}},e.prototype._calculateUniqueValues=function(e,t,r){for(var i={},s=0,a=this.items;s<a.length;s++){var n=a[s],o=e.getFieldValue(n,t,r);(null==o||"string"==typeof o&&""===o.trim())&&(o=null),null==i[o]?i[o]={count:1,data:o,items:[n]}:(i[o].count++,i[o].items.push(n))}return i},e}();t.default=y}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));

/***/ }),

/***/ "./node_modules/arcgis-js-api/layers/graphics/data/executeTileQuery.js":
/*!*****************************************************************************!*\
  !*** ./node_modules/arcgis-js-api/layers/graphics/data/executeTileQuery.js ***!
  \*****************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.

!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"),__webpack_require__(/*! ../../../core/tsSupport/generatorHelper */ "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"),__webpack_require__(/*! ../../../core/tsSupport/awaiterHelper */ "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"),__webpack_require__(/*! ../../../geometry/support/aaBoundingRect */ "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js"),__webpack_require__(/*! ../featureConversionUtils */ "./node_modules/arcgis-js-api/layers/graphics/featureConversionUtils.js"),__webpack_require__(/*! ../OptimizedGeometry */ "./node_modules/arcgis-js-api/layers/graphics/OptimizedGeometry.js"),__webpack_require__(/*! ./QueryEngine */ "./node_modules/arcgis-js-api/layers/graphics/data/QueryEngine.js"),__webpack_require__(/*! ./utils */ "./node_modules/arcgis-js-api/layers/graphics/data/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,o,r,n,i,u,s,a,l){function c(e,t,o){var r=o.pixelBuffer,n=r*t.resolution,u=i.pad(t.bounds,n,i.create()),s=[];return e.featureStore.forEachInBounds(u,function(t){return s.push(e.featureAdapter.getObjectId(t))}),s}function d(e,t,o,r,n,i,u,s,a){var l=v[o.geometryType],c=m[o.geometryType],d="esriGeometryPolygon"===o.geometryType&&!s,h=o.hasZ?o.hasM?4:3:o.hasM?3:2;u&&!i?r.forEachInBounds(n,function(r){return f(e,t,r,o,a)}):i&&!u?r.forEachInBounds(n,function(o){return g(e,t,o,l,h,c,a,d)}):r.forEachInBounds(n,function(r){return y(e,t,r,o,a,l,h,c,d)})}function f(e,t,o,r,n){if(!t.has(o.objectId)){var i=l.getCentroid(r,o,n),u=o.attributes;i&&(t.add(o.objectId),e.push(new a.Feature(u,o.localId,null,i)))}}function g(e,t,o,r,n,i,u,s){if(!t.has(o.objectId)){var l=o.attributes,c=r(h(p,o.geometry,n,i,s,u),!1,!1);c&&(t.add(o.objectId),e.push(new a.Feature(l,o.localId,c,null)))}}function y(e,t,o,r,n,i,u,s,c){if(!t.has(o.objectId)){var d=l.getCentroid(r,o,n),f=o.attributes,g=i(h(p,o.geometry,u,s,c,n),!1,!1);g&&d&&(t.add(o.objectId),e.push(new a.Feature(f,o.localId,g,d)))}}function h(e,t,o,r,n,i){if(e.lengths.length&&(e.lengths.length=0),e.coords.length&&(e.coords.length=0),!t||!t.coords.length)return null;var s=t.coords,a=t.lengths;if(!a.length)return e.coords[0]=u.quantizeX(i,s[0]),e.coords[1]=u.quantizeY(i,s[1]),e.coords.length=o,e;for(var l,c,d,f,g=0,y=0,h=y,p=0,v=a;p<v.length;p++){var m=v[p];if(!(m<r)){y=h,d=l=u.quantizeX(i,s[g]),f=c=u.quantizeY(i,s[g+1]),e.coords[y]=d,e.coords[y+1]=f,g+=o,d=u.quantizeX(i,s[g]),f=u.quantizeY(i,s[g+1]);var I=d-l,b=f-c,z=b/I;y+=2,e.coords[y]=I,e.coords[y+1]=b,l=d,c=f,g+=o;for(var G=2;G<m;G++){if(d=u.quantizeX(i,s[g]),f=u.quantizeY(i,s[g+1]),d!==l||f!==c){var P=d-l,q=f-c,T=q/P,j=z===T||!isFinite(z)&&!isFinite(T),F=(b>=0&&q>=0||b<=0&&q<=0)&&(I>=0&&P>=0||I<=0&&P<=0);j&&(n||F)?(I+=P,b+=q):(I=P,b=q,y+=2),e.coords[y]=I,e.coords[y+1]=b,z=T,l=d,c=f}g+=o}var B=(y+2-h)/2;B>=r&&(e.lengths.push(B),h=y+2)}}return e.coords.length>h&&(e.coords.length=h),e.coords.length?e:null}Object.defineProperty(t,"__esModule",{value:!0});var p=new s.default,v={esriGeometryPoint:u.convertToPoint,esriGeometryPolyline:u.convertToPolyline,esriGeometryPolygon:u.convertToPolygon,esriGeometryMultipoint:u.convertToMultipoint};t.executeTileQueryForIds=c,t.createTileFeatures=d;var m={esriGeometryPoint:0,esriGeometryPolyline:2,esriGeometryPolygon:3,esriGeometryMultipoint:0};t.quantizeOptimizedGeometryForDisplay=h}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));

/***/ }),

/***/ "./node_modules/arcgis-js-api/layers/support/PromiseQueue.js":
/*!*******************************************************************!*\
  !*** ./node_modules/arcgis-js-api/layers/support/PromiseQueue.js ***!
  \*******************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.

!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(){this._deferreds=[],this._values=[]}return e.prototype.push=function(e){var t=this;return r.create(function(r,s){t._deferreds.push({resolve:r,reject:s}),t._values.push(e)})},e.prototype.unshift=function(e){var t=this;return r.create(function(r,s){t._deferreds.unshift({resolve:r,reject:s}),t._values.unshift(e)})},Object.defineProperty(e.prototype,"length",{get:function(){return this._deferreds.length},enumerable:!0,configurable:!0}),e.prototype.process=function(){return 0!==this.length&&(this._deferreds.shift().resolve(this._values.shift()),!0)},e.prototype.cancelAll=function(){for(var e=r.createAbortError(),t=0,s=this._deferreds;t<s.length;t++){s[t].reject(e)}this._deferreds.length=0,this._values.length=0},e}();t.PromiseQueue=s}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
				__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));

/***/ })

}]);
//# sourceMappingURL=11-es2015.js.map