????
Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/ |
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/7-es2015.js |
(function(){ var absMids = { "esri/core/sql/WhereClauseCache":"./node_modules/arcgis-js-api/core/sql/WhereClauseCache.js", "esri/layers/graphics/centroid":"./node_modules/arcgis-js-api/layers/graphics/centroid.js", "esri/layers/graphics/contains":"./node_modules/arcgis-js-api/layers/graphics/contains.js", "esri/layers/graphics/data/attributeSupport":"./node_modules/arcgis-js-api/layers/graphics/data/attributeSupport.js", "esri/layers/graphics/data/optimizedFeatureQueryEngineAdapter":"./node_modules/arcgis-js-api/layers/graphics/data/optimizedFeatureQueryEngineAdapter.js", "esri/layers/graphics/data/spatialQuerySupport":"./node_modules/arcgis-js-api/layers/graphics/data/spatialQuerySupport.js", "esri/layers/graphics/data/timeSupport":"./node_modules/arcgis-js-api/layers/graphics/data/timeSupport.js", "esri/layers/graphics/data/utils":"./node_modules/arcgis-js-api/layers/graphics/data/utils.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([[7],{ /***/ "./node_modules/arcgis-js-api/core/sql/WhereClauseCache.js": /*!*****************************************************************!*\ !*** ./node_modules/arcgis-js-api/core/sql/WhereClauseCache.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__(/*! ../ItemCache */ "./node_modules/arcgis-js-api/core/ItemCache.js"),__webpack_require__(/*! ./WhereClause */ "./node_modules/arcgis-js-api/core/sql/WhereClause.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,r,i){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this._cache=new r(e),this._invalidCache=new r(t)}return e.prototype.get=function(e,t){var r=t.uid+":"+e,n=this._cache.get(r);if(n)return n;if(void 0!==this._invalidCache.get(r))return null;try{var u=i.WhereClause.create(e,t);return this._cache.put(r,u),u}catch(e){return this._invalidCache.put(r,null),null}},e}();t.WhereClauseCache=n}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }), /***/ "./node_modules/arcgis-js-api/layers/graphics/centroid.js": /*!****************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/graphics/centroid.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_AMD_DEFINE_RESULT__ = (function(r,e){function n(r,e){return r?e?4:3:e?3:2}function t(r,e,t,N){if(!e||!e.lengths.length)return null;r.lengths.length&&(r.lengths.length=0),r.coords.length&&(r.coords.length=0);for(var l=r.coords,o=[],i=t?[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY]:[Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY,Number.NEGATIVE_INFINITY],f=e.lengths,T=e.coords,h=n(t,N),a=0,g=0,s=f;g<s.length;g++){var c=s[g],v=I(i,T,a,c,t,N);v&&o.push(v),a+=c*h}if(o.sort(function(r,e){var n=r[2]-e[2];return 0===n&&t&&(n=r[4]-e[4]),n}),o.length){var E=6*o[0][2];l[0]=o[0][0]/E,l[1]=o[0][1]/E,t&&(E=6*o[0][4],l[2]=0!==E?o[0][3]/E:0),(l[0]<i[0]||l[0]>i[1]||l[1]<i[2]||l[1]>i[3]||t&&(l[2]<i[4]||l[2]>i[5]))&&(l.length=0)}if(!l.length){var m=e.lengths[0]?u(T,0,f[0],t,N):null;if(!m)return null;l[0]=m[0],l[1]=m[1],t&&m.length>2&&(l[2]=m[2])}return r}function I(r,e,t,I,u,N){for(var l=n(u,N),o=t,i=t+l,f=0,T=0,h=0,a=0,g=0,s=0,c=I-1;s<c;s++,o+=l,i+=l){var v=e[o],E=e[o+1],m=e[o+2],_=e[i],b=e[i+1],d=e[i+2],F=v*b-_*E;a+=F,f+=(v+_)*F,T+=(E+b)*F,u&&(F=v*d-_*m,h+=(m+d)*F,g+=F),v<r[0]&&(r[0]=v),v>r[1]&&(r[1]=v),E<r[2]&&(r[2]=E),E>r[3]&&(r[3]=E),u&&(m<r[4]&&(r[4]=m),m>r[5]&&(r[5]=m))}if(a>0&&(a*=-1),g>0&&(g*=-1),!a)return null;var V=[f,T,.5*a];return u&&(V[3]=h,V[4]=.5*g),V}function u(r,e,t,I,u){for(var f=n(I,u),T=e,h=e+f,a=0,g=0,s=0,c=0,v=0,E=t-1;v<E;v++,T+=f,h+=f){var m=r[T],_=r[T+1],b=r[T+2],d=r[h],F=r[h+1],V=r[h+2],Y=I?l(m,_,b,d,F,V):N(m,_,d,F);if(Y)if(a+=Y,I){var O=i(m,_,b,d,F,V);g+=Y*O[0],s+=Y*O[1],c+=Y*O[2]}else{var O=o(m,_,d,F);g+=Y*O[0],s+=Y*O[1]}}return a>0?I?[g/a,s/a,c/a]:[g/a,s/a]:t>0?I?[r[e],r[e+1],r[e+2]]:[r[e],r[e+1]]:null}function N(r,e,n,t){var I=n-r,u=t-e;return Math.sqrt(I*I+u*u)}function l(r,e,n,t,I,u){var N=t-r,l=I-e,o=u-n;return Math.sqrt(N*N+l*l+o*o)}function o(r,e,n,t){return[r+.5*(n-r),e+.5*(t-e)]}function i(r,e,n,t,I,u){return[r+.5*(t-r),e+.5*(I-e),n+.5*(u-n)]}Object.defineProperty(e,"__esModule",{value:!0}),e.getCentroidOptimizedGeometry=t,e.lineCentroid=u}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }), /***/ "./node_modules/arcgis-js-api/layers/graphics/contains.js": /*!****************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/graphics/contains.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_AMD_DEFINE_RESULT__ = (function(n,r){function o(n,r){return n?r?4:3:r?3:2}function t(n,r,o,t){return i(n,r,o,t.coords[0],t.coords[1])}function e(n,r,t,e,u,f){var s=o(u,f),c=e.coords,a=e.lengths;if(!a)return!1;for(var l=0,d=0;l<a.length;l++,d+=s)if(!i(n,r,t,c[d],c[d+1]))return!1;return!0}function i(n,r,t,e,i){if(!n)return!1;for(var f=o(r,t),s=n.coords,c=n.lengths,a=!1,l=0,d=0,g=c;d<g.length;d++){var v=g[d];a=u(a,s,f,l,v,e,i),l+=v*f}return a}function u(n,r,o,t,e,i,u){for(var f=n,s=t,c=t,a=t+e*o;c<a;c+=o){s=c+o,s===a&&(s=t);var l=r[c],d=r[c+1],g=r[s],v=r[s+1];(d<u&&v>=u||v<u&&d>=u)&&l+(u-d)/(v-d)*(g-l)<i&&(f=!f)}return f}Object.defineProperty(r,"__esModule",{value:!0}),r.polygonContainsPoint=t,r.polygonContainsMultipoint=e,r.polygonContainsCoords=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/attributeSupport.js": /*!*****************************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/graphics/data/attributeSupport.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/Error */ "./node_modules/arcgis-js-api/core/Error.js"),__webpack_require__(/*! ../../../core/iteratorUtils */ "./node_modules/arcgis-js-api/core/iteratorUtils.js"),__webpack_require__(/*! ../../../core/sql/WhereClauseCache */ "./node_modules/arcgis-js-api/core/sql/WhereClauseCache.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,i,r,s,n,t){function a(e,i){if(!i)return!0;var r=f.get(i,e);if(!r)throw new s(p,"invalid SQL expression",{where:i});if(!r.isStandardized)throw new s(p,"where clause is not standard",{where:i});return d(e,r.fieldNames,"where clause contains missing fields"),!0}function o(e,i,r){if(!i)return!0;var n=f.get(i,e);if(!n)throw new s(p,"invalid SQL expression",{having:i});if(!n.isAggregate)throw new s(p,"having does not contain a valid aggregate function",{having:i});var t=n.fieldNames;if(d(e,t,"having contains missing fields"),!n.getExpressions().every(function(i){var s=i.aggregateType,n=i.field,t=e.has(n)&&e.get(n).name;return r.some(function(i){var r=i.onStatisticField,n=i.statisticType;return(e.has(r)&&e.get(r).name)===t&&n.toLowerCase().trim()===s})}))throw new s(p,"expressions in having should also exist in outStatistics",{having:i});return!0}function l(e,i){return e?f.get(e,i):null}function d(e,i,r,n){void 0===n&&(n=!0);for(var t=[],a=0,o=i;a<o.length;a++){var g=o[a];if("*"!==g&&!e.has(g))if(n){var h=u(g);try{var f=l(h,e);if(!f)throw new s(p,"invalid SQL expression",{where:h});if(!f.isStandardized)throw new s(p,"expression is not standard",{clause:f});d(e,f.fieldNames,"expression contains missing fields")}catch(e){var c=e&&e.details;if(c&&(c.clause||c.where))throw e;c&&c.missingFields?t.push.apply(t,c.missingFields):t.push(g)}}else t.push(g)}if(t.length)throw new s(p,r,{missingFields:t})}function u(e){return e.split(c)[0]}function g(e){return e.split(c)[1]}function h(e,i){var r=i.get(e);return!!r&&!v.has(r.type)}Object.defineProperty(i,"__esModule",{value:!0});var f=new t.WhereClauseCache(50,500),p="feature-store:unsupported-query",c=" as ",v=n.createSetFromValues(["esriFieldTypeOID","esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeDate"]);i.validateWhere=a,i.validateHaving=o,i.getWhereClause=l,i.validateFields=d,i.getExpressionFromFieldName=u,i.getAliasFromFieldName=g,i.hasInvalidFieldType=h}).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/optimizedFeatureQueryEngineAdapter.js": /*!***********************************************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/graphics/data/optimizedFeatureQueryEngineAdapter.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__(/*! ../centroid */ "./node_modules/arcgis-js-api/layers/graphics/centroid.js"),__webpack_require__(/*! ../OptimizedFeature */ "./node_modules/arcgis-js-api/layers/graphics/OptimizedFeature.js"),__webpack_require__(/*! ../OptimizedGeometry */ "./node_modules/arcgis-js-api/layers/graphics/OptimizedGeometry.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,r,n,i){Object.defineProperty(t,"__esModule",{value:!0}),t.optimizedFeatureQueryEngineAdapter={getObjectId:function(e){return e.objectId},getAttributes:function(e){return e.attributes},getAttribute:function(e,t){return e.attributes[t]},cloneWithGeometry:function(e,t){return new n.default(t,e.attributes,null,e.objectId)},getGeometry:function(e){return e.geometry},getCentroid:function(e,t){return e.centroid||(e.centroid=r.getCentroidOptimizedGeometry(new i.default,e.geometry,t.hasZ,t.hasM)),e.centroid}},t.default=t.optimizedFeatureQueryEngineAdapter}).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/spatialQuerySupport.js": /*!********************************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/graphics/data/spatialQuerySupport.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/Error */ "./node_modules/arcgis-js-api/core/Error.js"),__webpack_require__(/*! ../../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"),__webpack_require__(/*! ../../../geometry/support/contains */ "./node_modules/arcgis-js-api/geometry/support/contains.js"),__webpack_require__(/*! ../../../geometry/support/intersects */ "./node_modules/arcgis-js-api/geometry/support/intersects.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__(/*! ../contains */ "./node_modules/arcgis-js-api/layers/graphics/contains.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__(/*! ./projectionSupport */ "./node_modules/arcgis-js-api/layers/graphics/data/projectionSupport.js"),__webpack_require__(/*! ./utils */ "./node_modules/arcgis-js-api/layers/graphics/data/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,r,i,n,o,s,l,a,u,p,y,c,f,m){function g(e){return!0===I.spatialRelationship[e]}function R(e){return!0===I.queryGeometry[a.getJsonType(e)]}function S(e){return!0===I.layerGeometry[e]}function v(){return o.create(function(t){return Promise.resolve(/*! AMD require */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__(/*! ../../../geometry/geometryEngine */ "./node_modules/arcgis-js-api/geometry/geometryEngine.js")]; (t).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe)})}function G(){return v().then(function(e){return e.geodesicBuffer})}function h(e,t,r){if(a.isPolygon(t)&&"esriGeometryPoint"===r.geometryType&&("esriSpatialRelIntersects"===e||"esriSpatialRelContains"===e)){var i=y.convertFromPolygon(new c.default,t,!1,!1);return o.resolve(function(e){return p.polygonContainsPoint(i,!1,!1,e)})}if(a.isPolygon(t)&&"esriGeometryMultipoint"===r.geometryType){var n=y.convertFromPolygon(new c.default,t,!1,!1);if("esriSpatialRelContains"===e)return o.resolve(function(e){return p.polygonContainsMultipoint(n,!1,!1,e,r.hasZ,r.hasM)})}if(a.isExtent(t)&&"esriGeometryPoint"===r.geometryType&&("esriSpatialRelIntersects"===e||"esriSpatialRelContains"===e))return o.resolve(function(e){return s.extentContainsPoint(t,m.getGeometry(r,e))});if(a.isExtent(t)&&"esriGeometryMultipoint"===r.geometryType&&"esriSpatialRelContains"===e)return o.resolve(function(e){return s.extentContainsMultipoint(t,m.getGeometry(r,e))});if(a.isExtent(t)&&"esriSpatialRelIntersects"===e){var u=l.getExtentIntersector(r.geometryType);return o.resolve(function(e){return u(t,m.getGeometry(r,e))})}return v().then(function(i){var n=i[E[e]].bind(null,t);return function(e){return n(m.getGeometry(r,e))}})}function d(e,t,o){return i(this,void 0,void 0,function(){var i,s;return r(this,function(r){if(i=e.spatialRel,!(s=e.geometry))return[2];if(!g(i))throw new n(C,"Unsupported query spatial relationship",{query:e});if(!u.isValid(s.spatialReference)||!u.isValid(o))return[2];if(!R(s))throw new n(C,"Unsupported query geometry type",{query:e});if(!S(t))throw new n(C,"Unsupported layer geometry type",{query:e});return e.outSR?[2,f.checkProjectionSupport(e.geometry&&e.geometry.spatialReference,e.outSR)]:[2]})})}function P(e){if(a.isExtent(e))return!0;if(a.isPolygon(e)){for(var t=0,r=e.rings;t<r.length;t++){var i=r[t];if(5!==i.length)return!1;if(i[0][0]!==i[1][0]||i[0][0]!==i[4][0]||i[2][0]!==i[3][0]||i[0][1]!==i[3][1]||i[0][1]!==i[4][1]||i[1][1]!==i[2][1])return!1}return!0}return!1}Object.defineProperty(t,"__esModule",{value:!0});var C="feature-store:unsupported-query",E={esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"intersects",esriSpatialRelIndexIntersects:null,esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:null},I={spatialRelationship:{esriSpatialRelIntersects:!0,esriSpatialRelContains:!0,esriSpatialRelWithin:!0,esriSpatialRelCrosses:!0,esriSpatialRelDisjoint:!0,esriSpatialRelTouches:!0,esriSpatialRelOverlaps:!0,esriSpatialRelEnvelopeIntersects:!0,esriSpatialRelIndexIntersects:!1,esriSpatialRelRelation:!1},queryGeometry:{esriGeometryPoint:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!0},layerGeometry:{esriGeometryPoint:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!1}};t.importGeometryEngine=v,t.getGeodesicBufferOperator=G,t.getSpatialQueryOperator=h,t.checkSpatialQuerySupport=d,t.canQueryWithRBush=P}).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/timeSupport.js": /*!************************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/graphics/data/timeSupport.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_AMD_DEFINE_RESULT__ = (function(t,e){function n(t,e,n,u){return!(n>e||u<t)}function u(t,e){if(!t)return null;var n=e.featureAdapter,u=t.startTimeField,r=t.endTimeField,i=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY;if(u&&r)e.forEach(function(t){var e=n.getAttribute(t,u),a=n.getAttribute(t,r);null==e||isNaN(e)||(i=Math.min(i,e)),null==a||isNaN(a)||(l=Math.max(l,a))});else{var a=u||r;e.forEach(function(t){var e=n.getAttribute(t,a);null==e||isNaN(e)||(i=Math.min(i,e),l=Math.max(l,e))})}return{start:i,end:l}}function r(t,e,n){if(!e||!t)return null;var u=t.startTimeField,r=t.endTimeField;if(!u&&!r)return null;var a=e.start,f=e.end;return null==a&&null==f?null:u&&r?i(n,u,r,a,f):l(n,u||r,a,f)}function i(t,e,u,r,i){if(null!=r&&null!=i&&r===i){var l=r;return function(n){return l>=t.getAttribute(n,e)&&l<=t.getAttribute(n,u)}}return null!=r&&null!=i?function(l){return n(r,i,t.getAttribute(l,e),t.getAttribute(l,u))}:null!=r?function(e){return!(t.getAttribute(e,u)<r)}:null!=i?function(n){return!(t.getAttribute(n,e)>i)}:void 0}function l(t,e,n,u){return null!=n&&null!=u&&n===u?function(u){return t.getAttribute(u,e)===n}:null!=n&&null!=u?function(r){return t.getAttribute(r,e)>=n&&t.getAttribute(r,e)<=u}:null!=n?function(u){return t.getAttribute(u,e)>=n}:null!=u?function(n){return t.getAttribute(n,e)<=u}:void 0}Object.defineProperty(e,"__esModule",{value:!0}),e.getTimeExtent=u,e.getTimeOperator=r}).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/utils.js": /*!******************************************************************!*\ !*** ./node_modules/arcgis-js-api/layers/graphics/data/utils.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/jsonMap */ "./node_modules/arcgis-js-api/core/jsonMap.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__(/*! ../../../core/unitUtils */ "./node_modules/arcgis-js-api/core/unitUtils.js"),__webpack_require__(/*! ../../../geometry/support/extentUtils */ "./node_modules/arcgis-js-api/geometry/support/extentUtils.js"),__webpack_require__(/*! ../../../geometry/support/jsonUtils */ "./node_modules/arcgis-js-api/geometry/support/jsonUtils.js"),__webpack_require__(/*! ../../../geometry/support/normalizeUtils */ "./node_modules/arcgis-js-api/geometry/support/normalizeUtils.js"),__webpack_require__(/*! ../../../geometry/support/spatialReferenceUtils */ "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"),__webpack_require__(/*! ../centroid */ "./node_modules/arcgis-js-api/layers/graphics/centroid.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__(/*! ./projectionSupport */ "./node_modules/arcgis-js-api/layers/graphics/data/projectionSupport.js"),__webpack_require__(/*! ./spatialQuerySupport */ "./node_modules/arcgis-js-api/layers/graphics/data/spatialQuerySupport.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,r,i,o,n,s,a,u,l,c,m,p,f,y,d,g){function h(e,t,r,i,o){void 0===i&&(i=e.hasZ),void 0===o&&(o=e.hasM);var n=e.hasZ&&i,s=e.hasM&&o;if(r){var a=f.quantizeOptimizedGeometry(P,t,e.hasZ,e.hasM,"esriGeometryPoint",r,i,o);return f.convertToPoint(a,n,s)}return f.convertToPoint(t,n,s)}function v(e,t,r){return"esriGeometryPolygon"===e.geometryType&&t&&(t.centroid||t.geometry)?(t.centroid||(t.centroid=p.getCentroidOptimizedGeometry(new y.default,t.geometry,e.hasZ,e.hasM)),h(e,t.centroid,r)):null}function S(e,t,r,i,o,n){void 0===o&&(o=e.hasZ),void 0===n&&(n=e.hasM);var s=e.hasZ&&o,a=e.hasM&&n,u=t?"coords"in t?t:t.geometry:null;if(!u)return null;if(r){var l=f.generalizeOptimizedGeometry(z,u,e.hasZ,e.hasM,e.geometryType,r,o,n);return i&&(l=f.quantizeOptimizedGeometry(P,l,s,a,e.geometryType,i)),N[e.geometryType](l,s,a)}if(i){var l=f.quantizeOptimizedGeometry(P,u,e.hasZ,e.hasM,e.geometryType,i,o,n);return N[e.geometryType](l,s,a)}return f.removeZMValues(_,u,e.hasZ,e.hasM,o,n),N[e.geometryType](_,s,a)}function R(e,t,o){return i(this,void 0,void 0,function(){var i,n,s,a,u,u,u,u;return r(this,function(r){if(i=e.outFields,n=e.orderByFields,s=e.groupByFieldsForStatistics,a=e.outStatistics,i)for(u=0;u<i.length;u++)i[u]=i[u].trim();if(n)for(u=0;u<n.length;u++)n[u]=n[u].trim();if(s)for(u=0;u<s.length;u++)s[u]=s[u].trim();if(a)for(u=0;u<a.length;u++)a[u].onStatisticField&&(a[u].onStatisticField=a[u].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),[2,G(e,t,o)]})})}function M(e,t,o){return i(this,void 0,void 0,function(){return r(this,function(r){return[2,G(e,t,o)]})})}function G(e,o,s){return i(this,void 0,void 0,function(){var i,a,m,p,f,y;return r(this,function(r){switch(r.label){case 0:return e?(i=e.where,e.where=i=i&&i.trim(),(!i||/^1 *= *1$/.test(i)||o&&o===i)&&(e.where=null),e.geometry?[4,U(e)]:[2,e]):[2,null];case 1:return a=r.sent(),e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel&&(m=e.geometry.spatialReference,a=u.getGeometryExtent(a),a.spatialReference=m),e.geometry=a,[4,d.checkProjectionSupport(a.spatialReference,s)];case 2:return r.sent(),[4,c.normalizeCentralMeridian(l.fromJSON(a))];case 3:if(p=r.sent()[0],n.isNone(p))throw t.QUERY_ENGINE_EMPTY_RESULT;return f=p.toJSON(),[4,d.project(f,f.spatialReference,s)];case 4:if(!(y=r.sent()))throw t.QUERY_ENGINE_EMPTY_RESULT;return y.spatialReference=s,e.geometry=y,[2,e]}})})}function U(e){return i(this,void 0,void 0,function(){var t,i,o,n,u,l,c,p,f,y;return r(this,function(r){switch(r.label){case 0:return t=e.geometry,(i=e.distance,o=e.units,null==i)?[2,s.resolve(t)]:(n=t.spatialReference,u=o&&E.fromJSON(o)||a.getUnitString(n),(l=n&&(m.isGeographic(n)||m.isWebMercator(n)))?(p=t,[3,3]):[3,1]);case 1:return[4,d.checkProjectionSupport(n,m.WGS84).then(function(){return d.project(t,m.WGS84)})];case 2:p=r.sent(),r.label=3;case 3:return c=p,[4,g.getGeodesicBufferOperator()];case 4:return f=r.sent(),y=f(c,i,u),[2,y?y.toJSON():null]}})})}function T(e){return e&&O in e?JSON.parse(JSON.stringify(e,w)):e}Object.defineProperty(t,"__esModule",{value:!0});var E=new o.default({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});t.QUERY_ENGINE_EMPTY_RESULT=Object.freeze({});var _=new y.default,z=new y.default,P=new y.default,N={esriGeometryPoint:f.convertToPoint,esriGeometryPolyline:f.convertToPolyline,esriGeometryPolygon:f.convertToPolygon,esriGeometryMultipoint:f.convertToMultipoint};t.transformCentroid=h,t.getCentroid=v,t.getGeometry=S,t.normalizeQuery=R,t.normalizeFilter=M,t.normalizeQueryLike=G,t.cleanFromGeometryEngine=T;var O="_geVersion",w=function(e,t){return e!==O?t:void 0}}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); /***/ }) }]); //# sourceMappingURL=7-es2015.js.map