????

Your IP : 3.147.45.232


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

{"version":3,"sources":["./node_modules/arcgis-js-api/core/sql/WhereClauseCache.js","./node_modules/arcgis-js-api/layers/graphics/centroid.js","./node_modules/arcgis-js-api/layers/graphics/contains.js","./node_modules/arcgis-js-api/layers/graphics/data/attributeSupport.js","./node_modules/arcgis-js-api/layers/graphics/data/optimizedFeatureQueryEngineAdapter.js","./node_modules/arcgis-js-api/layers/graphics/data/spatialQuerySupport.js","./node_modules/arcgis-js-api/layers/graphics/data/timeSupport.js","./node_modules/arcgis-js-api/layers/graphics/data/utils.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,yFAAc,CAAC,gGAAe,CAAC,mCAAC,kBAAkB,sCAAsC,SAAS,EAAE,iBAAiB,gBAAgB,iDAAiD,qCAAqC,uCAAuC,cAAc,kDAAkD,IAAI,gCAAgC,8BAA8B,SAAS,4CAA4C,GAAG,GAAG,qBAAqB;AAAA,oGAAC,C;;;;;;;;;;;ACxBhf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,mCAAC,cAAc,gBAAgB,qBAAqB,oBAAoB,qCAAqC,4EAA4E,sUAAsU,WAAW,KAAK,4BAA4B,oBAAoB,wBAAwB,gBAAgB,iCAAiC,YAAY,gBAAgB,4JAA4J,cAAc,wCAAwC,kBAAkB,+CAA+C,SAAS,wBAAwB,yDAAyD,IAAI,eAAe,gEAAgE,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AC,4FAAqB,CAAC,0GAA4B,CAAC,oGAAyB,CAAC,gIAAuC,CAAC,4HAAqC,CAAC,sIAA0C,CAAC,oJAAiD,CAAC,kGAAa,CAAC,8HAA2B,CAAC,oHAAsB,CAAC,wHAAqB,CAAC,4HAAuB,CAAC,mCAAC,4CAA4C,sBAAsB,8CAA8C,4BAA4B,MAAM,+EAA+E,+BAA+B,+BAA+B,kBAAkB,mMAAmM,wBAAwB,8CAA8C,+DAA+D,kBAAkB,MAAM,4EAA4E,6FAA6F,MAAM,0EAA0E,gCAAgC,wEAAwE,kBAAkB,uCAAuC,oBAAoB,0BAA0B,8FAA8F,WAAW,qBAAqB,aAAa,WAAW,qBAAqB,aAAa,WAAW,qBAAqB,aAAa,WAAW,gFAAgF,gFAAgF,EAAE,EAAE,kBAAkB,uCAAuC,0BAA0B,mBAAmB,EAAE,EAAE,kBAAkB,uCAAuC,gBAAgB,0BAA0B,gBAAgB,yIAAyI,oPAAoP,qEAAqE,sEAAsE,0DAA0D,0DAA0D,gDAAgD,EAAE,EAAE,cAAc,uCAAuC,wBAAwB,0BAA0B,gBAAgB,4MAA4M,oEAAoE,4BAA4B,GAAG,4BAA4B,oDAAoD,2DAA2D,EAAE,EAAE,cAAc,mDAAmD,sCAAsC,SAAS,EAAE,qBAAqB,yMAAyM,EAAE,4CAA4C,EAAE,uDAAuD,iKAAiK,gJAAgJ,mCAAmC,uBAAuB;AAAA,oGAAC,C","file":"7-es2015.js","sourcesContent":["// COPYRIGHT © 2019 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../ItemCache\",\"./WhereClause\"],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});","// COPYRIGHT © 2019 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\"],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});","// COPYRIGHT © 2019 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\"],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});","// COPYRIGHT © 2019 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../core/tsSupport/assignHelper\",\"../../../core/Error\",\"../../../core/iteratorUtils\",\"../../../core/sql/WhereClauseCache\"],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});","// COPYRIGHT © 2019 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../centroid\",\"../OptimizedFeature\",\"../OptimizedGeometry\"],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});","// COPYRIGHT © 2019 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../core/tsSupport/generatorHelper\",\"../../../core/tsSupport/awaiterHelper\",\"../../../core/Error\",\"../../../core/promiseUtils\",\"../../../geometry/support/contains\",\"../../../geometry/support/intersects\",\"../../../geometry/support/jsonUtils\",\"../../../geometry/support/spatialReferenceUtils\",\"../contains\",\"../featureConversionUtils\",\"../OptimizedGeometry\",\"./projectionSupport\",\"./utils\"],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 e([\"../../../geometry/geometryEngine\"],t)})}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});","// COPYRIGHT © 2019 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\"],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});","// COPYRIGHT © 2019 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../core/tsSupport/generatorHelper\",\"../../../core/tsSupport/awaiterHelper\",\"../../../core/jsonMap\",\"../../../core/maybe\",\"../../../core/promiseUtils\",\"../../../core/unitUtils\",\"../../../geometry/support/extentUtils\",\"../../../geometry/support/jsonUtils\",\"../../../geometry/support/normalizeUtils\",\"../../../geometry/support/spatialReferenceUtils\",\"../centroid\",\"../featureConversionUtils\",\"../OptimizedGeometry\",\"./projectionSupport\",\"./spatialQuerySupport\"],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}});"],"sourceRoot":"webpack:///"}