{"version":3,"sources":["webpack:///./node_modules/arcgis-js-api/layers/MapNotesLayer.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,2BAAoB,CAAC,2BAAgC,CAAC,2BAAsB,CAAC,2BAAoC,CAAC,2BAAgB,CAAC,2BAAS,CAAC,2BAAqB,CAAC,2BAA2B,CAAC,2BAAsB,CAAC,mCAAE,kCAAkC,aAAa,mBAAmB,cAAc,2BAA2B,4BAA4B,wEAAwE,eAAe,6EAA6E,4CAA4C,aAAa,+BAA+B,6DAA6D,iCAAiC,YAAY,qBAAqB,GAAG,8DAA8D,mDAAmD,YAAY,qBAAqB,GAAG,+CAA+C,eAAe,6EAA6E,iDAAiD,UAAU,iBAAiB,6CAA6C,aAAa,2BAA2B,+BAA+B,gDAAgD,eAAe,6EAA6E,iDAAiD,UAAU,iBAAiB,6CAA6C,aAAa,2BAA2B,+BAA+B,+BAA+B,qDAAqD,sCAAsC,qBAAqB,2BAA2B,6CAA6C,4DAA4D,qBAAqB,4DAA4D,iBAAiB,0UAA0U,iCAAiC,0DAA0D,iCAAiC,0DAA0D,kBAAkB,SAAS,0FAA0F,6EAA6E;AAAA,oGAAE,C","file":"js/chunk-2d21f4b9.d926bf47.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/Collection\",\"../core/MultiOriginJSONSupport\",\"../core/promiseUtils\",\"../core/accessorSupport/decorators\",\"./FeatureLayer\",\"./Layer\",\"./mixins/BlendLayer\",\"./mixins/OperationalLayer\",\"./mixins/PortalLayer\"],(function(e,t,r,o,n,l,a,i,u,c,s,p){\"use strict\";return function(e){function t(t){var r=e.call(this,t)||this;return r.type=\"map-notes\",r}return r.__extends(t,e),Object.defineProperty(t.prototype,\"fullExtent\",{get:function(){return this.featureCollections?this.featureCollections.reduce((function(e,t){return e?e.union(t.fullExtent):t.fullExtent}),null):null},enumerable:!1,configurable:!0}),t.prototype.readFeatureCollectionsFromItem=function(e,t,r){return t.layers.map((function(e){var t=new i;return t.read(e,r),t}))},t.prototype.readFeatureCollectionsFromWebMap=function(e,t,r){return t.featureCollection.layers.map((function(e){var t=new i;return t.read(e,r),t}))},Object.defineProperty(t.prototype,\"minScale\",{get:function(){return this.featureCollections?this.featureCollections.reduce((function(e,t){return null==e?t.minScale:Math.min(e,t.minScale)}),null):0},set:function(e){this.featureCollections.forEach((function(t){t.minScale=e})),this._set(\"minScale\",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,\"maxScale\",{get:function(){return this.featureCollections?this.featureCollections.reduce((function(e,t){return null==e?t.maxScale:Math.min(e,t.maxScale)}),null):0},set:function(e){this.featureCollections.forEach((function(t){t.maxScale=e})),this._set(\"maxScale\",e)},enumerable:!1,configurable:!0}),t.prototype.load=function(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:[\"Feature Collection\"]},e)),l.resolve(this)},r.__decorate([a.property({dependsOn:[\"featureCollections\"],readOnly:!0})],t.prototype,\"fullExtent\",null),r.__decorate([a.property({type:[\"show\",\"hide\"]})],t.prototype,\"listMode\",void 0),r.__decorate([a.property({type:o.ofType(i)})],t.prototype,\"featureCollections\",void 0),r.__decorate([a.reader(\"portal-item\",\"featureCollections\",[\"layers\"])],t.prototype,\"readFeatureCollectionsFromItem\",null),r.__decorate([a.reader(\"web-map\",\"featureCollections\",[\"featureCollection.layers\"])],t.prototype,\"readFeatureCollectionsFromWebMap\",null),r.__decorate([a.property({dependsOn:[\"featureCollections\"]})],t.prototype,\"minScale\",null),r.__decorate([a.property({dependsOn:[\"featureCollections\"]})],t.prototype,\"maxScale\",null),r.__decorate([a.property({readOnly:!0,json:{read:!1}})],t.prototype,\"type\",void 0),t=r.__decorate([a.subclass(\"esri.layers.MapNotesLayer\")],t)}(c.BlendLayer(s.OperationalLayer(p.PortalLayer(n.MultiOriginJSONMixin(u)))))}));"],"sourceRoot":""}