{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/views/2d/layers/features/support/whereUtils.js","webpack:///./node_modules/arcgis-js-api/views/2d/arcade/callExpressionWithCursor.js","webpack:///./node_modules/arcgis-js-api/layers/graphics/data/spatialQuerySupport.js","webpack:///./node_modules/arcgis-js-api/layers/graphics/data/FeatureFilter.js","webpack:///./node_modules/arcgis-js-api/layers/graphics/contains.js","webpack:///./node_modules/arcgis-js-api/layers/graphics/data/utils.js","webpack:///./node_modules/arcgis-js-api/views/2d/layers/features/FeatureStore2D.js","webpack:///./node_modules/arcgis-js-api/views/2d/layers/features/Store2D.js","webpack:///./node_modules/arcgis-js-api/layers/graphics/data/timeSupport.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,2BAAO,CAAC,2BAA2B,CAAC,2BAA4B,CAAC,2BAA8B,CAAC,mCAAE,oBAAoB,aAAa,sCAAsC,SAAS,6BAA6B,yEAAyE,2BAA2B,oBAAoB,kCAAkC,kDAAkD,UAAU,uCAAuC,gBAAgB,2CAA2C,4EAAE,qCAAC,2BAAqC,CAAC,GAAC,CAAC,iEAAC,CAAC,YAAC,CAAC,IAAI,kBAAkB,IAAI,sMAAsM,4BAA4B,0BAA0B,EAAE,SAAS,+GAA+G,SAAS,EAAE,WAAW,GAAG,IAAI;AAAA,oGAAE,C;;;;;;;ACxBjgC;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,2BAAO,CAAC,2BAAsB,CAAC,mCAAE,kBAAkB,aAAa,sCAAsC,SAAS,4BAA4B,uBAAuB,4BA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AAO,eAAe,mCAAmC,sBAAsB,wCAAwC,sBAAsB,sBAAsB,iEAAiE,SAAS,0BAA0B,uCAAuC,gDAAgD,wCAAwC,8BAA8B,0BAA0B,sBAAsB,8BAA8B,0BAA0B,sBAAsB,OAAO,8BAA8B,8CAA8C,gCAAgC,uCAAuC,0BAA0B,mBAAmB,8BAA8B,+BAA+B,8BAA8B,+BAA+B,OAAO,cAAc;AAAA,oGAAE,C","file":"js/chunk-4c8d8881.84bf4499.js","sourcesContent":["// COPYRIGHT © 2020 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.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../../../core/Error\",\"../../../../../core/Logger\",\"@dojo/framework/shim/Promise\"],(function(e,r,t,n,a){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.createWhereClause=void 0;var i=a.getLogger(\"esri.views.2d.layers.features.support.whereUtils\"),s={getAttribute:function(e,r){return e.field(r)}};r.createWhereClause=function(r,a){return t.__awaiter(this,void 0,void 0,(function(){var o,u,c;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,new Promise((function(r,t){e([\"../../../../../core/sql/WhereClause\"],r,t)}))];case 1:o=t.sent();try{return(u=o.WhereClause.create(r,a)).isStandardized||(c=new n(\"mapview - bad input\",\"Unable to apply filter's definition expression, as expression is not standardized.\",u),i.error(c)),[2,function(e){var r=e.readArcadeFeature();return u.testFeature(r,s)}]}catch(e){return i.warn(\"mapview-bad-where-clause\",\"Encountered an error when evaluating where clause\",r),[2,function(e){return!0}]}return[2]}}))}))}}));","// COPYRIGHT © 2020 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.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../core/Logger\"],(function(e,r,a,t){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0}),r.default=function(e,r,n){e.referencesGeometry();var u=r.readArcadeFeature();try{return e.evaluate(a.__assign(a.__assign({},n),{$feature:u}))}catch(e){return t.getLogger(\"esri.views.2d.support.arcadeOnDemand\").warn(\"Feature arcade evaluation failed:\",e),null}}}));","// COPYRIGHT © 2020 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.17/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"tslib\",\"../../../core/Error\",\"../../../core/promiseUtils\",\"../../../geometry/support/contains\",\"../../../geometry/support/intersects\",\"../../../geometry/support/jsonUtils\",\"../../../geometry/support/spatialReferenceUtils\",\"../contains\",\"../featureConversionUtils\",\"../OptimizedGeometry\",\"./projectionSupport\",\"./utils\",\"@dojo/framework/shim/Promise\"],(function(e,t,r,i,n,o,s,a,l,u,p,c,y,f){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.canQueryWithRBush=t.checkSpatialQuerySupport=t.getSpatialQueryOperator=t.getGeodesicBufferOperator=t.importGeometryEngine=void 0;var m={esriSpatialRelIntersects:\"intersects\",esriSpatialRelContains:\"contains\",esriSpatialRelCrosses:\"crosses\",esriSpatialRelDisjoint:\"disjoint\",esriSpatialRelEnvelopeIntersects:\"intersects\",esriSpatialRelIndexIntersects:null,esriSpatialRelOverlaps:\"overlaps\",esriSpatialRelTouches:\"touches\",esriSpatialRelWithin:\"within\",esriSpatialRelRelation:null},g={esriSpatialRelIntersects:!0,esriSpatialRelContains:!0,esriSpatialRelWithin:!0,esriSpatialRelCrosses:!0,esriSpatialRelDisjoint:!0,esriSpatialRelTouches:!0,esriSpatialRelOverlaps:!0,esriSpatialRelEnvelopeIntersects:!0,esriSpatialRelIndexIntersects:!1,esriSpatialRelRelation:!1},R={esriGeometryPoint:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!0},S={esriGeometryPoint:!0,esriGeometryMultipoint:!0,esriGeometryPolyline:!0,esriGeometryPolygon:!0,esriGeometryEnvelope:!1};function v(){return new Promise((function(t,r){e([\"../../../geometry/geometryEngineJSON\"],t,r)}))}t.importGeometryEngine=v,t.getGeodesicBufferOperator=function(){return v().then((function(e){return e.geodesicBuffer}))},t.getSpatialQueryOperator=function(e,t,r,i,l){if(a.isPolygon(t)&&\"esriGeometryPoint\"===r&&(\"esriSpatialRelIntersects\"===e||\"esriSpatialRelContains\"===e)){var y=p.convertFromPolygon(new c.default,t,!1,!1);return n.resolve((function(e){return u.polygonContainsPoint(y,!1,!1,e)}))}if(a.isPolygon(t)&&\"esriGeometryMultipoint\"===r){var g=p.convertFromPolygon(new c.default,t,!1,!1);if(\"esriSpatialRelContains\"===e)return n.resolve((function(e){return u.polygonContainsMultipoint(g,!1,!1,e,i,l)}))}if(a.isExtent(t)&&\"esriGeometryPoint\"===r&&(\"esriSpatialRelIntersects\"===e||\"esriSpatialRelContains\"===e))return n.resolve((function(e){return o.extentContainsPoint(t,f.getGeometry(r,i,l,e))}));if(a.isExtent(t)&&\"esriGeometryMultipoint\"===r&&\"esriSpatialRelContains\"===e)return n.resolve((function(e){return o.extentContainsMultipoint(t,f.getGeometry(r,i,l,e))}));if(a.isExtent(t)&&\"esriSpatialRelIntersects\"===e){var R=s.getExtentIntersector(r);return n.resolve((function(e){return R(t,f.getGeometry(r,i,l,e))}))}return v().then((function(n){var o=n[m[e]].bind(null,t.spatialReference,t);return function(e){return o(f.getGeometry(r,i,l,e))}}))},t.checkSpatialQuerySupport=function(e,t,n){return r.__awaiter(this,void 0,void 0,(function(){var o,s;return r.__generator(this,(function(r){if(o=e.spatialRel,!(s=e.geometry))return[2];if(!0!==g[o])throw new i(\"feature-store:unsupported-query\",\"Unsupported query spatial relationship\",{query:e});if(!l.isValid(s.spatialReference)||!l.isValid(n))return[2];if(!function(e){return!0===R[a.getJsonType(e)]}(s))throw new i(\"feature-store:unsupported-query\",\"Unsupported query geometry type\",{query:e});if(!function(e){return!0===S[e]}(t))throw new i(\"feature-store:unsupported-query\",\"Unsupported layer geometry type\",{query:e});return e.outSR?[2,y.checkProjectionSupport(e.geometry&&e.geometry.spatialReference,e.outSR)]:[2]}))}))},t.canQueryWithRBush=function(e){if(a.isExtent(e))return!0;if(a.isPolygon(e)){for(var t=0,r=e.rings;t=u||p=u)&&c+(u-d)/(p-d)*(g-c)>>16}function d(t){return 65535&t}Object.defineProperty(e,\"__esModule\",{value:!0}),e.FeatureStore2D=e.featureAdapter=void 0,e.featureAdapter={getObjectId:function(t){return t.getObjectId()},getAttributes:function(t){return t.readAttributes()},getAttribute:function(t,e){return t.readAttribute(e)},cloneWithGeometry:function(t,e){return t},getGeometry:function(t){return t.readHydratedGeometry()},getCentroid:function(t,e){return t.readCentroid()}};var c=function(t){function i(r,a){var s=t.call(this,r,a)||this;return s.featureAdapter=e.featureAdapter,s.events=new n,s._featureSetsByInstance=new Map,s._objectIdToDisplayId=new Map,s._spatialIndexInvalid=!0,s._index=o(9,(function(t){return{minX:s._storage.getXMin(t),minY:s._storage.getYMin(t),maxX:s._storage.getXMax(t),maxY:s._storage.getYMax(t)}})),s}return r.__extends(i,t),Object.defineProperty(i.prototype,\"storeStatistics\",{get:function(){return{featureCount:0,vertexCount:0}},enumerable:!1,configurable:!0}),i.prototype.onTileData=function(t,e,r){if(a.isNone(e.addOrUpdate))return e;this._featureSetsByInstance.set(e.addOrUpdate.instance,e.addOrUpdate),this._storage=r,e.addOrUpdate._storage=r;for(var n,o,s=e.addOrUpdate.getCursor();s.next();){var i=s.getObjectId(),u=(n=s.instance,o=s.getIndex(),n<<16|o),d=this._objectIdToDisplayId.get(i);d||(d=r.createDisplayId(),this._objectIdToDisplayId.set(i,d),this._spatialIndexInvalid=!0),s.setDisplayId(d),r.setInstanceId(d,u),this.setComputedAttributes(r,s,d,t.scale)}return\"update\"===e.type&&(this._spatialIndexInvalid=!0),this.events.emit(\"changed\"),e},i.prototype.forEach=function(t){var e=this;this._objectIdToDisplayId.forEach((function(r){var n=e._storage.getInstanceId(r),a=e._lookupFeature(n);t(a)}))},i.prototype.forEachUnsafe=function(t){var e=this;this._objectIdToDisplayId.forEach((function(r){var n=e._storage.getInstanceId(r),a=u(n),o=d(n),s=e._getFeatureSet(a);s.setIndex(o),t(s)}))},i.prototype.forEachInBounds=function(t,e){for(var r=0,n=this._searchIndex(t);r=r)};if(null!=r)return function(e){var u=t.getAttribute(e,n);return null==u||u>=r};if(null!=u)return function(n){var r=t.getAttribute(n,e);return null==r||r<=u};return}(n,r,u,i,l):function(t,e,n,r){if(null!=n&&null!=r&&n===r)return function(r){return t.getAttribute(r,e)===n};if(null!=n&&null!=r)return function(u){var i=t.getAttribute(u,e);return i>=n&&i<=r};if(null!=n)return function(r){return t.getAttribute(r,e)>=n};if(null!=r)return function(n){return t.getAttribute(n,e)<=r};return}(n,r||u,i,l)}}));"],"sourceRoot":""}