????

Your IP : 3.144.147.211


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

{"version":3,"sources":["./node_modules/arcgis-js-api/core/throttle.js","./node_modules/arcgis-js-api/geometry/support/meshUtils/deduplicate.js","./node_modules/arcgis-js-api/layers/mixins/ArcGISCachedService.js","./node_modules/arcgis-js-api/layers/support/LercWorker.js","./node_modules/arcgis-js-api/layers/support/kmlUtils.js","./node_modules/arcgis-js-api/layers/support/lazyLayerLoader.js","./node_modules/arcgis-js-api/layers/support/rasterFormats/LercCodec.js","./node_modules/arcgis-js-api/layers/support/serviceTileInfoProperty.js","./node_modules/arcgis-js-api/portal/support/jsonContext.js","./node_modules/arcgis-js-api/portal/support/mapNotesUtils.js","./node_modules/arcgis-js-api/portal/support/portalLayers.js","./node_modules/arcgis-js-api/renderers/support/heatmapUtils.js","./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/TileIndex.js","./node_modules/arcgis-js-api/views/2d/layers/BitmapLayerView2D.js","./node_modules/arcgis-js-api/views/2d/layers/BitmapTileLayerView2D.js","./node_modules/arcgis-js-api/views/2d/layers/features/processors/BaseProcessor.js","./node_modules/arcgis-js-api/views/2d/layers/features/tileRenderers/BaseTileRenderer.js","./node_modules/arcgis-js-api/views/2d/layers/support/ExportStrategy.js","./node_modules/arcgis-js-api/views/2d/viewStateUtils.js","./node_modules/path-browserify/index.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,mCAAC,cAAc,oBAAoB,iBAAiB,uCAAuC,uBAAuB,iBAAiB,cAAc,iBAAiB,mBAAmB,sBAAsB,kDAAkD,2BAA2B,y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EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,QAAQ;AACxC;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,MAAM;AAChB;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,oCAAoC,8BAA8B;AAClE;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,oBAAoB;AAC9B;AACA;;AAEA;AACA,UAAU,UAAU;AACpB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,iBAAiB,YAAY;AAC7B;AACA;AACA;AACA;AACA;;AAEA;AACA,+BAA+B,sBAAsB;AACrD;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,QAAQ;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,2BAA2B,QAAQ;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,QAAQ;AACvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,eAAe;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA","file":"common-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\"],function(e,t){function n(e,t,n,r){var o=null,u=1e3;\"number\"==typeof t?(u=t,r=n):(o=t,u=n);var i,f=0,a=function(){f=0,e.apply(r,i)},c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o&&o.apply(r,e),i=e,u?f||(f=setTimeout(a,u)):a()};return c.remove=function(){f&&(clearTimeout(f),f=0)},c.forceUpdate=function(){f&&(clearTimeout(f),a())},c.hasPendingUpdates=function(){return!!f},c}Object.defineProperty(t,\"__esModule\",{value:!0}),t.throttle=n,t.default=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\",\"../../../core/mathUtils\"],function(r,n,e){function t(r,n,t){var u=r.byteLength/(4*n),l=new Uint32Array(r,0,u*n),v=new Uint32Array(u),c=t&&t.minReduction||0,h=t&&t.originalIndices||null,s=t&&t.componentOffsets||null,d=0;if(s)for(var g=0;g<s.length-1;g++){var w=s[g+1]-s[g];w>d&&(d=w)}else d=u;var y=Math.floor(1.1*d)+1;(null==o||o.length<2*y)&&(o=new Uint32Array(e.nextHighestPowerOfTwo(2*y)));for(var g=0;g<2*y;g++)o[g]=0;for(var U=0,b=1.96,A=0!==c?Math.ceil(4*b*b/(c*c)*c*(1-c)):u,p=1,M=s?s[1]:u,g=0;g<u;g++){if(g===A){var m=1-U/g;if(m+b*Math.sqrt(m*(1-m)/g)<c)return null;A*=2}if(g===M){for(var q=0;q<2*y;q++)o[q]=0;M=s[++p]}for(var O=g*n,x=a(l,O,n),P=x%y,_=U;0!==o[2*P+1];){if(o[2*P]===x){var j=o[2*P+1]-1;if(f(l,O,j*n,n)){_=v[j];break}}P++,P>=y&&(P-=y)}_===U&&(o[2*P]=x,o[2*P+1]=g+1,U++),v[g]=_}if(0!==c&&1-U/u<c)return null;var k=new Uint32Array(n*U);U=0;for(var g=0;g<u;g++)v[g]===U&&(i(l,g*n,k,U*n,n),U++);if(h){for(var C=new Uint32Array(h.length),g=0;g<C.length;g++)C[g]=v[h[g]];v=C}return{buffer:k.buffer,indices:v,uniqueCount:U}}function f(r,n,e,t){for(var f=0;f<t;f++)if(r[n+f]!==r[e+f])return!1;return!0}function i(r,n,e,t,f){for(var i=0;i<f;i++)e[t+i]=r[n+i]}function a(r,n,e){for(var t=0,f=0;f<e;f++)t=r[n+f]+t|0,t=t+(t<<11)+(t>>>2)|0;return t>>>0}Object.defineProperty(n,\"__esModule\",{value:!0}),n.deduplicate=t;var o=null;n.default=t});","// 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\n//  copyright\n\n/**\n                 * The copyright text as defined by the service.\n                 *\n                 * @name copyright\n                 * @type {string}\n                 *\n                 * @memberof module:esri/layers/mixins/ArcGISCachedService\n                 */\n\ndefine([\"require\",\"exports\",\"../../core/tsSupport/assignHelper\",\"../../core/tsSupport/declareExtendsHelper\",\"../../core/tsSupport/decorateHelper\",\"../../geometry\",\"../../core/accessorSupport/decorators\",\"../support/serviceTileInfoProperty\",\"../support/TilemapCache\"],function(e,r,t,p,o,i,l,a,n){Object.defineProperty(r,\"__esModule\",{value:!0}),r.ArcGISCachedService=function(e){return function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.copyright=null,r.minScale=0,r.maxScale=0,r.spatialReference=null,r.tileInfo=null,r.tilemapCache=null,r}return p(r,e),r.prototype.readMinScale=function(e,r){return null!=r.minLOD&&null!=r.maxLOD?e:0},r.prototype.readMaxScale=function(e,r){return null!=r.minLOD&&null!=r.maxLOD?e:0},Object.defineProperty(r.prototype,\"supportsBlankTile\",{get:function(){return this.version>=10.2},enumerable:!0,configurable:!0}),r.prototype.readTilemapCache=function(e,r){return r.capabilities&&r.capabilities.indexOf(\"Tilemap\")>-1?new n.TilemapCache({layer:this}):null},o([l.property({json:{read:{source:\"copyrightText\"}}})],r.prototype,\"copyright\",void 0),o([l.property()],r.prototype,\"minScale\",void 0),o([l.reader(\"service\",\"minScale\")],r.prototype,\"readMinScale\",null),o([l.property()],r.prototype,\"maxScale\",void 0),o([l.reader(\"service\",\"maxScale\")],r.prototype,\"readMaxScale\",null),o([l.property({type:i.SpatialReference})],r.prototype,\"spatialReference\",void 0),o([l.property({readOnly:!0,dependsOn:[\"version\"]})],r.prototype,\"supportsBlankTile\",null),o([l.property(a.serviceTileInfoProperty)],r.prototype,\"tileInfo\",void 0),o([l.property()],r.prototype,\"tilemapCache\",void 0),o([l.reader(\"service\",\"tilemapCache\",[\"capabilities\"])],r.prototype,\"readTilemapCache\",null),o([l.property()],r.prototype,\"version\",void 0),r=o([l.subclass(\"esri.layers.mixins.ArcGISCachedService\")],r)}(l.declared(e))}});","// 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/tsSupport/extendsHelper\",\"../../core/promiseUtils\",\"../../core/requireUtils\",\"../../core/workers\",\"module\"],function(e,t,r,n,o,i,u,c){function s(){return o.create(function(t){return e([\"./rasterFormats/LercCodec\"],t)})}function a(e){var t=p.get(e);return t||(t={instance:new h(e),ref:0},p.set(e,t)),++t.ref,t.instance}function d(e){if(null!=e){var t=e.scheduler,r=p.get(t);r&&--r.ref<=0&&(r.instance.destroy(),p.delete(t))}}function f(){return new l}Object.defineProperty(t,\"__esModule\",{value:!0});var l=function(){function e(){}return e.prototype._decode=function(e){return s().then(function(t){var r=t.decode,n=r(e.buffer,e.options);return{result:n,transferList:[n.pixelData.buffer]}})},e}(),h=function(t){function r(r){var n=t.call(this)||this;return n.scheduler=r,n._threadInitialized=o.create(function(t){u.open(i.getAbsMid(\"./LercWorker\",e,c),{strategy:\"dedicated\",scheduler:r}).then(function(e){void 0===n._thread?(n._thread=e,t()):(e.close(),t())},function(){return t()})}),n}return n(r,t),r.prototype.destroy=function(){this._thread&&this._thread.close(),this._thread=null},Object.defineProperty(r.prototype,\"test\",{get:function(){return{threadInitialized:this._threadInitialized}},enumerable:!0,configurable:!0}),r.prototype.decode=function(e,t,r){return e&&0!==e.byteLength?this._thread?this._thread.invoke(\"_decode\",{buffer:e,options:t},{transferList:[e],signal:r}):s().then(function(n){var i=n.decode;return o.throwIfAborted(r),i(e,t)}):o.resolve(null)},r}(l);t.LercWorkerMaster=h;var p=new Map;t.acquireInstance=a,t.releaseInstance=d,t.default=f});","// 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/tsSupport/assignHelper\",\"../../config\",\"../../PopupTemplate\",\"../../request\",\"../../core/lang\",\"../../geometry/SpatialReference\",\"../../geometry/support/aaBoundingBox\",\"../../geometry/support/boundsUtils\",\"../../renderers/support/jsonUtils\",\"../../tasks/support/FeatureSet\"],function(e,r,t,o,n,a,s,i,u,l,f,p,y,c){function d(e){var r=e.folders||[],t=r.slice(),o=new Map,n=new Map,a=new Map,s=new Map,i=new Map,l={esriGeometryPoint:n,esriGeometryPolyline:a,esriGeometryPolygon:s};(e.featureCollection&&e.featureCollection.layers||[]).forEach(function(e){var r=u.clone(e);r.featureSet.features=[];var t=e.featureSet.geometryType;o.set(t,r);var i=e.layerDefinition.objectIdField;\"esriGeometryPoint\"===t?v(n,i,e.featureSet.features):\"esriGeometryPolyline\"===t?v(a,i,e.featureSet.features):\"esriGeometryPolygon\"===t&&v(s,i,e.featureSet.features)}),e.groundOverlays&&e.groundOverlays.forEach(function(e){i.set(e.id,e)}),r.forEach(function(r){r.networkLinkIds.forEach(function(o){var n=h(o,r.id,e.networkLinks);n&&t.push(n)})}),t.forEach(function(e){e.featureInfos&&(e.points=u.clone(o.get(\"esriGeometryPoint\")),e.polylines=u.clone(o.get(\"esriGeometryPolyline\")),e.polygons=u.clone(o.get(\"esriGeometryPolygon\")),e.mapImages=[],e.featureInfos.map(function(r){switch(r.type){case\"esriGeometryPoint\":case\"esriGeometryPolyline\":case\"esriGeometryPolygon\":var t=l[r.type].get(r.id);t&&e[G[r.type]].featureSet.features.push(t);break;case\"GroundOverlay\":var o=i.get(r.id);o&&e.mapImages.push(o)}}),e.fullExtent=b([e]))});var f=b(t);return{folders:r,sublayers:t,extent:f}}function m(e,r,t,o){var n=a.kmlServiceUrl;return i(n,{query:{url:e,model:\"simple\",folders:\"\",refresh:0!==t||void 0,outSR:JSON.stringify(r)},responseType:\"json\",signal:o})}function g(e,r,t,o){void 0===t&&(t=null),void 0===o&&(o=[]);var n=[],a={},s=r.sublayers,i=r.folders.map(function(e){return e.id});return s.forEach(function(r){var s=new e;if(t?s.read(r,t):s.read(r),o.length&&i.indexOf(s.id)>-1&&(s.visible=-1!==o.indexOf(s.id)),a[r.id]=s,null!=r.parentFolderId&&-1!==r.parentFolderId){var u=a[r.parentFolderId];u.sublayers||(u.sublayers=[]),u.sublayers.unshift(s)}else n.unshift(s)}),n}function v(e,r,t){t.forEach(function(t){e.set(t.attributes[r],t)})}function S(e,r){var t;return r.some(function(r){return r.id===e&&(t=r,!0)}),t}function h(e,r,t){var o=S(e,t);return o&&(o.parentFolderId=r,o.networkLink=o),o}function I(e){return o(this,void 0,void 0,function(){var r,o,n,a,i,u,l,f,p,d;return t(this,function(t){switch(t.label){case 0:r=c.fromJSON(e.featureSet),o=r.features,n=e.layerDefinition,a=y.fromJSON(n.drawingInfo.renderer),i=s.fromJSON(e.popupInfo),u=[],l=0,f=o,t.label=1;case 1:return l<f.length?(p=f[l],[4,a.getSymbolAsync(p)]):[3,4];case 2:d=t.sent(),p.symbol=d,p.popupTemplate=i,p.visible=!!p.attributes.visibility,u.push(p),t.label=3;case 3:return l++,[3,1];case 4:return[2,u]}})})}function b(e){for(var r=f.create(),t=f.create(f.NEGATIVE_INFINITY),o=0,n=e;o<n.length;o++){var a=n[o];if(a.polygons&&a.polygons.featureSet&&a.polygons.featureSet.features)for(var s=0,i=a.polygons.featureSet.features;s<i.length;s++){var u=i[s];p.getBoundsXYZ(r,u.geometry),f.expand(t,r,t)}if(a.polylines&&a.polylines.featureSet&&a.polylines.featureSet.features)for(var y=0,c=a.polylines.featureSet.features;y<c.length;y++){var u=c[y];p.getBoundsXYZ(r,u.geometry),f.expand(t,r,t)}if(a.points&&a.points.featureSet&&a.points.featureSet.features)for(var d=0,m=a.points.featureSet.features;d<m.length;d++){var u=m[d];p.getBoundsXYZ(r,u.geometry),f.expand(t,r,t)}if(a.mapImages)for(var g=0,v=a.mapImages;g<v.length;g++){var u=v[g];p.getBoundsXYZ(r,u.extent),f.expand(t,r,t)}}return f.equals(t,f.NEGATIVE_INFINITY)?null:{xmin:t[0],ymin:t[1],zmin:t[2],xmax:t[3],ymax:t[4],zmax:t[5],spatialReference:l.WGS84}}Object.defineProperty(r,\"__esModule\",{value:!0});var G={esriGeometryPoint:\"points\",esriGeometryPolyline:\"polylines\",esriGeometryPolygon:\"polygons\"};r.parseKML=d,r.fetchService=m,r.sublayersFromJSON=g,r.getGraphics=I,r.computeExtent=b});","// 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/promiseUtils\"],function(e,r,n){Object.defineProperty(r,\"__esModule\",{value:!0}),r.layerLookupMap={CSVLayer:function(){return n.create(function(r){return e([\"../CSVLayer\"],r)})},ElevationLayer:function(){return n.create(function(r){return e([\"../ElevationLayer\"],r)})},FeatureLayer:function(){return n.create(function(r){return e([\"../FeatureLayer\"],r)})},GroupLayer:function(){return n.create(function(r){return e([\"../GroupLayer\"],r)})},GeoRSSLayer:function(){return n.create(function(r){return e([\"../GeoRSSLayer\"],r)})},ImageryLayer:function(){return n.create(function(r){return e([\"../ImageryLayer\"],r)})},KMLLayer:function(){return n.create(function(r){return e([\"../KMLLayer\"],r)})},MapImageLayer:function(){return n.create(function(r){return e([\"../MapImageLayer\"],r)})},MapNotesLayer:function(){return n.create(function(r){return e([\"../MapNotesLayer\"],r)})},OpenStreetMapLayer:function(){return n.create(function(r){return e([\"../OpenStreetMapLayer\"],r)})},PointCloudLayer:function(){return n.create(function(r){return e([\"../PointCloudLayer\"],r)})},SceneLayer:function(){return n.create(function(r){return e([\"../SceneLayer\"],r)})},BuildingSceneLayer:function(){return n.create(function(r){return e([\"../BuildingSceneLayer\"],r)})},IntegratedMeshLayer:function(){return n.create(function(r){return e([\"../IntegratedMeshLayer\"],r)})},StreamLayer:function(){return n.create(function(r){return e([\"../StreamLayer\"],r)})},TileLayer:function(){return n.create(function(r){return e([\"../TileLayer\"],r)})},UnknownLayer:function(){return n.create(function(r){return e([\"../UnknownLayer\"],r)})},UnsupportedLayer:function(){return n.create(function(r){return e([\"../UnsupportedLayer\"],r)})},VectorTileLayer:function(){return n.create(function(r){return e([\"../VectorTileLayer\"],r)})},WebTileLayer:function(){return n.create(function(r){return e([\"../WebTileLayer\"],r)})},WMSLayer:function(){return n.create(function(r){return e([\"../WMSLayer\"],r)})},WMTSLayer:function(){return n.create(function(r){return e([\"../WMTSLayer\"],r)})},BingMapsLayer:function(){return n.create(function(r){return e([\"../BingMapsLayer\"],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([\"../../../core/mathUtils\"],function(e){var t={};t.defaultNoDataValue=e.clampFloat32(-1/0),t.decode=function(s,r){r=r||{};var o=r.encodedMaskData||null===r.encodedMaskData,f=l(s,r.inputOffset||0,o),m=null!=r.noDataValue?e.clampFloat32(r.noDataValue):t.defaultNoDataValue,u=i(f,r.pixelType||Float32Array,r.encodedMaskData,m,r.returnMask),d={width:f.width,height:f.height,pixelData:u.resultPixels,minValue:f.pixels.minValue,maxValue:f.pixels.maxValue,noDataValue:m};return u.resultMask&&(d.maskData=u.resultMask),r.returnEncodedMask&&f.mask&&(d.encodedMaskData=f.mask.bitset?f.mask.bitset:null),r.returnFileInfo&&(d.fileInfo=a(f),r.computeUsedBitDepths&&(d.fileInfo.bitDepths=n(f))),d};var i=function(e,t,i,a,n){var l=0,r=e.pixels.numBlocksX,o=e.pixels.numBlocksY,f=Math.floor(e.width/r),m=Math.floor(e.height/o),u=2*e.maxZError;i=i||(e.mask?e.mask.bitset:null);var d,c;d=new t(e.width*e.height),n&&i&&(c=new Uint8Array(e.width*e.height));for(var g,h,k=new Float32Array(f*m),x=0;x<=o;x++){var w=x!==o?m:e.height%o;if(0!==w)for(var p=0;p<=r;p++){var y=p!==r?f:e.width%r;if(0!==y){var V,v,B,U=x*e.width*m+p*f,D=e.width-y,M=e.pixels.blocks[l];M.encoding<2?(0===M.encoding?V=M.rawData:(s(M.stuffedData,M.bitsPerPixel,M.numValidPixels,M.offset,u,k,e.pixels.maxValue),V=k),v=0):B=2===M.encoding?0:M.offset;var b;if(i)for(h=0;h<w;h++){for(7&U&&(b=i[U>>3],b<<=7&U),g=0;g<y;g++)7&U||(b=i[U>>3]),128&b?(c&&(c[U]=1),d[U++]=M.encoding<2?V[v++]:B):(c&&(c[U]=0),d[U++]=a),b<<=1;U+=D}else if(M.encoding<2)for(h=0;h<w;h++){for(g=0;g<y;g++)d[U++]=V[v++];U+=D}else for(h=0;h<w;h++)if(d.fill)d.fill(B,U,U+y),U+=y+D;else{for(g=0;g<y;g++)d[U++]=B;U+=D}if(1===M.encoding&&v!==M.numValidPixels)throw\"Block and Mask do not match\";l++}}}return{resultPixels:d,resultMask:c}},a=function(e){return{fileIdentifierString:e.fileIdentifierString,fileVersion:e.fileVersion,imageType:e.imageType,height:e.height,width:e.width,maxZError:e.maxZError,eofOffset:e.eofOffset,mask:e.mask?{numBlocksX:e.mask.numBlocksX,numBlocksY:e.mask.numBlocksY,numBytes:e.mask.numBytes,maxValue:e.mask.maxValue}:null,pixels:{numBlocksX:e.pixels.numBlocksX,numBlocksY:e.pixels.numBlocksY,numBytes:e.pixels.numBytes,maxValue:e.pixels.maxValue,minValue:e.pixels.minValue,noDataValue:this.noDataValue}}},n=function(e){for(var t=e.pixels.numBlocksX*e.pixels.numBlocksY,i={},a=0;a<t;a++){var n=e.pixels.blocks[a];0===n.encoding?i.float32=!0:1===n.encoding?i[n.bitsPerPixel]=!0:i[0]=!0}return Object.keys(i)},l=function(e,t,i){var a={},n=new Uint8Array(e,t,10);if(a.fileIdentifierString=String.fromCharCode.apply(null,n),\"CntZImage\"!=a.fileIdentifierString.trim())throw\"Unexpected file identifier string: \"+a.fileIdentifierString;t+=10;var l=new DataView(e,t,24);if(a.fileVersion=l.getInt32(0,!0),a.imageType=l.getInt32(4,!0),a.height=l.getUint32(8,!0),a.width=l.getUint32(12,!0),a.maxZError=l.getFloat64(16,!0),t+=24,!i)if(l=new DataView(e,t,16),a.mask={},a.mask.numBlocksY=l.getUint32(0,!0),a.mask.numBlocksX=l.getUint32(4,!0),a.mask.numBytes=l.getUint32(8,!0),a.mask.maxValue=l.getFloat32(12,!0),t+=16,a.mask.numBytes>0){var s=new Uint8Array(Math.ceil(a.width*a.height/8));l=new DataView(e,t,a.mask.numBytes);var r=l.getInt16(0,!0),o=2,f=0;do{if(r>0)for(;r--;)s[f++]=l.getUint8(o++);else{var m=l.getUint8(o++);for(r=-r;r--;)s[f++]=m}r=l.getInt16(o,!0),o+=2}while(o<a.mask.numBytes);if(-32768!==r||f<s.length)throw\"Unexpected end of mask RLE encoding\";a.mask.bitset=s,t+=a.mask.numBytes}else if(0==(a.mask.numBytes|a.mask.numBlocksY|a.mask.maxValue)){var s=new Uint8Array(Math.ceil(a.width*a.height/8));a.mask.bitset=s}l=new DataView(e,t,16),a.pixels={},a.pixels.numBlocksY=l.getUint32(0,!0),a.pixels.numBlocksX=l.getUint32(4,!0),a.pixels.numBytes=l.getUint32(8,!0),a.pixels.maxValue=l.getFloat32(12,!0),t+=16;var u=a.pixels.numBlocksX,d=a.pixels.numBlocksY,c=u+(a.width%u>0?1:0),g=d+(a.height%d>0?1:0);a.pixels.blocks=new Array(c*g);for(var h=1e9,k=0,x=0;x<g;x++)for(var w=0;w<c;w++){var p=0,y=e.byteLength-t;l=new DataView(e,t,Math.min(10,y));var V={};a.pixels.blocks[k++]=V;var v=l.getUint8(0);if(p++,V.encoding=63&v,V.encoding>3)throw\"Invalid block encoding (\"+V.encoding+\")\";if(2!==V.encoding){if(0!==v&&2!==v){if(v>>=6,V.offsetType=v,2===v)V.offset=l.getInt8(1),p++;else if(1===v)V.offset=l.getInt16(1,!0),p+=2;else{if(0!==v)throw\"Invalid block offset type\";V.offset=l.getFloat32(1,!0),p+=4}if(h=Math.min(V.offset,h),1===V.encoding)if(v=l.getUint8(p),p++,V.bitsPerPixel=63&v,v>>=6,V.numValidPixelsType=v,2===v)V.numValidPixels=l.getUint8(p),p++;else if(1===v)V.numValidPixels=l.getUint16(p,!0),p+=2;else{if(0!==v)throw\"Invalid valid pixel count type\";V.numValidPixels=l.getUint32(p,!0),p+=4}}if(t+=p,3!=V.encoding){var B,U;if(0===V.encoding){var D=(a.pixels.numBytes-1)/4;if(D!==Math.floor(D))throw\"uncompressed block has invalid length\";B=new ArrayBuffer(4*D),U=new Uint8Array(B),U.set(new Uint8Array(e,t,4*D));for(var M=new Float32Array(B),b=0;b<M.length;b++)h=Math.min(h,M[b]);V.rawData=M,t+=4*D}else if(1===V.encoding){var I=Math.ceil(V.numValidPixels*V.bitsPerPixel/8),P=Math.ceil(I/4);B=new ArrayBuffer(4*P),U=new Uint8Array(B),U.set(new Uint8Array(e,t,I)),V.stuffedData=new Uint32Array(B),t+=I}}}else t++,h=Math.min(h,0)}return a.pixels.minValue=h,a.eofOffset=t,a},s=function(e,t,i,a,n,l,s){var r,o,f,m=(1<<t)-1,u=0,d=0,c=Math.ceil((s-a)/n),g=4*e.length-Math.ceil(t*i/8);for(e[e.length-1]<<=8*g,r=0;r<i;r++){if(0===d&&(f=e[u++],d=32),d>=t)o=f>>>d-t&m,d-=t;else{var h=t-d;o=(f&m)<<h&m,f=e[u++],d=32-h,o+=f>>>d}l[r]=o<c?a+o*n:s}return l};return t});","// 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\",\"./TileInfo\"],function(e,r,n,i){function l(e,r,l,o){if(!e)return null;var t=r.minScale,u=r.maxScale,a=r.minLOD,f=r.maxLOD;if(null!=a&&null!=f)return o&&o.ignoreMinMaxLOD?i.fromJSON(e):i.fromJSON(n({},e,{lods:e.lods.filter(function(e){var r=e.level;return null!=r&&r>=a&&r<=f})}));if(0!==t&&0!==u){var c=function(e){return Math.round(1e4*e)/1e4},s=t?c(t):1/0,m=u?c(u):-1/0;return i.fromJSON(n({},e,{lods:e.lods.filter(function(e){var r=c(e.scale);return r<=s&&r>=m})}))}return i.fromJSON(e)}Object.defineProperty(r,\"__esModule\",{value:!0}),r.serviceTileInfoProperty={type:i,json:{origins:{service:{read:{source:[\"tileInfo\",\"minScale\",\"maxScale\",\"minLOD\",\"maxLOD\"],reader:l}}}}},r.readServiceTileInfo=l});","// 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/urlUtils\",\"../Portal\"],function(e,r,t,o){function l(e){return{origin:\"portal-item\",url:t.urlToObject(e.itemUrl),portal:e.portal||o.getDefault()}}Object.defineProperty(r,\"__esModule\",{value:!0}),r.createForItem=l});","// 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(e,r){function i(e){var r=[\"TITLE\",\"DESCRIPTION\",\"IMAGE_URL\",\"IMAGE_LINK_URL\"],i=e.layers||e.featureCollection&&e.featureCollection.layers;if(i&&Array.isArray(i)){var n=i[0];return n.layerDefinition&&Array.isArray(n.layerDefinition.fields)&&n.layerDefinition.fields.forEach(function(e){var i=r.indexOf(e.name);i>-1&&r.splice(i,1)}),!r.length}}Object.defineProperty(r,\"__esModule\",{value:!0}),r.isMapNotesLayer=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\",\"../../request\",\"../../core/Collection\",\"../../core/Error\",\"../../core/promiseUtils\",\"../../layers/support/lazyLayerLoader\",\"../PortalItem\",\"./mapNotesUtils\"],function(e,r,t,n,a,o,u,s,c,i){function l(e){return!e.portalItem||e.portalItem instanceof c||e.portalItem.constructor&&e.portalItem.constructor._meta||(e=t({},e,{portalItem:new c(e.portalItem)})),y(e.portalItem).then(function(r){var n=t({portalItem:e.portalItem},r.properties),a=r.constructor;return u.resolve(new a(n))})}function y(e){return e.load().then(p).then(f)}function p(e){switch(e.type){case\"Map Service\":return m(e);case\"Feature Service\":return d(e);case\"Feature Collection\":return h(e);case\"Scene Service\":return L(e);case\"Image Service\":return N(e);case\"Stream Service\":return I();case\"Vector Tile Service\":return S();case\"KML\":return v();case\"WMTS\":return M();case\"WMS\":return g();default:return u.reject(new o(\"portal:unknown-item-type\",\"Unknown item type '${type}'\",{type:e.type}))}}function f(e){return(0,s.layerLookupMap[e.className])().then(function(r){return{constructor:r,properties:e.properties}})}function m(e){return w(e).then(function(e){return e?{className:\"TileLayer\"}:{className:\"MapImageLayer\"}})}function d(e){return T(e).then(function(e){if(\"object\"==typeof e){var r={};return null!=e.id&&(r.layerId=e.id),{className:\"FeatureLayer\",properties:r}}return{className:\"GroupLayer\"}})}function L(e){return T(e).then(function(r){if(\"object\"==typeof r){var t={},n=void 0;if(null!=r.id?(t.layerId=r.id,n=e.url+\"/layers/\"+r.id):n=e.url,Array.isArray(e.typeKeywords)&&e.typeKeywords.length>0)for(var a={IntegratedMesh:\"IntegratedMeshLayer\",\"3DObject\":\"SceneLayer\",Point:\"SceneLayer\",PointCloud:\"PointCloudLayer\",Building:\"BuildingSceneLayer\"},o=0,u=Object.keys(a);o<u.length;o++){var s=u[o];if(-1!==e.typeKeywords.indexOf(s))return{className:a[s]}}return j(n).then(function(e){var r=\"SceneLayer\",n={Point:\"SceneLayer\",\"3DObject\":\"SceneLayer\",IntegratedMesh:\"IntegratedMeshLayer\",PointCloud:\"PointCloudLayer\",Building:\"BuildingSceneLayer\"};return e&&e.layerType&&n[e.layerType]&&(r=n[e.layerType]),{className:r,properties:t}})}return{className:\"GroupLayer\"}})}function h(e){return e.load().then(function(){return e.fetchData()}).then(function(e){if(e&&Array.isArray(e.layers)){if(i.isMapNotesLayer(e))return{className:\"MapNotesLayer\"};if(1===e.layers.length)return{className:\"FeatureLayer\"}}return{className:\"GroupLayer\"}})}function N(e){return w(e).then(function(r){var t=new a(e.typeKeywords);return r?t.find(function(e){return\"elevation 3d layer\"===e.toLowerCase()})?{className:\"ElevationLayer\"}:{className:\"TileLayer\"}:{className:\"ImageryLayer\"}})}function I(){return{className:\"StreamLayer\"}}function S(){return{className:\"VectorTileLayer\"}}function v(){return{className:\"KMLLayer\"}}function g(){return{className:\"WMSLayer\"}}function M(){return{className:\"WMTSLayer\"}}function w(e){return j(e.url).then(function(e){return e.tileInfo})}function T(e){return!e.url||e.url.match(/\\/\\d+$/)?u.resolve({}):e.load().then(function(){return e.fetchData()}).then(function(r){return r&&Array.isArray(r.layers)?1===r.layers.length&&{id:r.layers[0].id}:j(e.url).then(function(e){return e&&Array.isArray(e.layers)?1===e.layers.length&&{id:e.layers[0].id}:{}})})}function j(e){return n(e,{responseType:\"json\",query:{f:\"json\"}}).then(function(e){return e.data})}Object.defineProperty(r,\"__esModule\",{value:!0}),r.fromItem=l,r.selectLayerClassPath=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\",\"../../core/global\",\"../../core/mathUtils\"],function(t,e,r,a){function n(t,e,r,a){for(var n,i=e.blurRadius,o=e.fieldOffset,c=e.field,l=new Float64Array(r*a),h=u(i),g=Math.round(3*i),m=Number.NEGATIVE_INFINITY,d=f(c,o),y=0,v=t;y<v.length;y++)for(var p=v[y],s=p.geometry,M=p.attributes,b=s.x-g,w=s.y-g,I=Math.max(0,b),x=Math.max(0,w),A=Math.min(a,s.y+g),U=Math.min(r,s.x+g),F=+d(M),D=x;D<A;D++)for(var N=h[D-w],R=I;R<U;R++){var C=h[R-b],E=D*r+R;n=l[E]+=N*C*F,n>m&&(m=n)}return{matrix:l.buffer,max:m}}function i(t,e,r,a,n,i){t.canvas.width=t.canvas.height=e,t.clearRect(0,0,e,e);var u=t.getImageData(0,0,e,e);r&&a&&u.data.set(new Uint8ClampedArray(o(e,r,a,n,i))),t.putImageData(u,0,0)}function o(t,e,r,n,i){for(var o=new Uint32Array(t*t),u=(\"buffer\"in e?e:new Float64Array(e)),f=(\"buffer\"in r?new Uint32Array(r.buffer):new Uint32Array(new Uint8Array(r).buffer)),c=f.length/(i-n),l=0;l<u.length;l++){var h=u[l],g=Math.floor((h-n)*c);o[l]=f[a.clamp(g,0,f.length-1)]}return o.buffer}function u(t){for(var e=Math.round(3*t),r=2*t*t,a=new Float64Array(2*e+1),n=0;n<=a.length;n++)a[n]=Math.exp(-Math.pow(n-e,2)/r)/Math.sqrt(2*Math.PI)*(t/2);return a}function f(t,e){return\"function\"==typeof t?t:t?\"string\"==typeof e?function(e){return-1*+e[t]}:function(r){return+r[t]+e}:function(){return 1}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.generateGradient=function(){if(!(\"document\"in r))return function(){return null};var t=document.createElement(\"canvas\"),e=t.getContext(\"2d\");return t.height=512,t.width=1,function(r){e.clearRect(0,0,1,t.height);for(var a=e.createLinearGradient(0,0,0,t.height),n=0,i=r.colorStops;n<i.length;n++){var o=i[n],u=o.ratio,f=o.color;a.addColorStop(Math.max(u,.001),\"rgba(\"+f[0]+\", \"+f[1]+\", \"+f[2]+\", \"+f[3]+\")\")}return e.fillStyle=a,e.fillRect(0,0,1,t.height),e.getImageData(0,0,1,t.height).data}}(),e.calculateHeatmapIntensityInfo=n,e.drawHeatmap=i,e.createHeatmapImageData=o,e.createKernel=u,e.createValueFunction=f});","// 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/promiseUtils\",\"../../../../layers/support/TilemapCache\",\"../../tiling/TileKey\"],function(e,t,r,i,o){return function(){function e(e){if(e instanceof i.TilemapCache)this._tilemapCache=e;else{if(!(e&&\"index\"in e))throw new Error(\"Invalid tilemap!\");this._tilemap=e.index}}return e.prototype.dataKey=function(e,t){if(this._tilemapCache){var i=e.level,l=e.row,a=e.col,n=new o(e);return this._tilemapCache.fetchAvailabilityUpsample(i,l,a,n,t).then(function(){return n}).catch(function(e){if(r.isAbortError(e))throw e;return n.level=i,n.row=l,n.col=a,n})}return this._getIndexedDataKey(e)},e.prototype.forEach=function(e,t,r,i,o){this._callback=o,this._maxLevel=t+e,this._forEach(this._tilemap,t,r,i)},e.prototype._forEach=function(e,t,r,i){0!==e&&(this._callback(t,r,i),t!==this._maxLevel&&\"object\"==typeof e&&(this._forEach(e[0],t+1,2*r,2*i),this._forEach(e[1],t+1,2*r,2*i+1),this._forEach(e[2],t+1,2*r+1,2*i),this._forEach(e[3],t+1,2*r+1,2*i+1)))},e.prototype._getIndexedDataKey=function(e){var t=[e];if(e.level<0||e.row<0||e.col<0||e.row>>e.level>0||e.col>>e.level>0)return r.resolve(null);for(var i=e;0!==i.level;)i=new o(i.level-1,i.row>>1,i.col>>1,i.world),t.push(i);var l,a,n=this._tilemap,c=t.pop();if(1===n)return r.resolve(c);for(;t.length;)if(l=t.pop(),a=(1&l.col)+((1&l.row)<<1),n){if(0===n[a]){c=null;break}if(1===n[a]){c=l;break}c=l,n=n[a]}return r.resolve(c)},e}()});","// 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/decorateHelper\",\"../../../core/tsSupport/declareExtendsHelper\",\"../../../core/accessorSupport/decorators\",\"../engine/BitmapContainer\"],function(e,r,t,i,n,o){Object.defineProperty(r,\"__esModule\",{value:!0}),r.BitmapLayerView2D=function(e){return function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.container=new o.BitmapContainer(r.clips),r}return i(r,e),r.prototype.initialize=function(){var e=this;this.handles.add(this.clips.on(\"change\",function(){return e.container.setClips(e.clips)}))},r=t([n.subclass(\"esri.views.2d.layers.BitmapLayerView2D\")],r)}(n.declared(e))}});","// 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/decorateHelper\",\"../../../core/tsSupport/declareExtendsHelper\",\"../../../core/accessorSupport/decorators\",\"../engine/BitmapTileContainer\",\"../engine/Container\"],function(e,i,t,r,n,a,o){Object.defineProperty(i,\"__esModule\",{value:!0}),i.BitmapTileLayerView2D=function(e){return function(e){function i(){var i=null!==e&&e.apply(this,arguments)||this;return i.container=new o.Container,i}return r(i,e),i.prototype.attach=function(){var e=this;this.view.timeline.record(this.layer.title+\" (BitmapTileLayer) Attach\"),this._bitmapView=new a.BitmapTileContainer(this._tileInfoView,this.clips),this.handles.add(this.clips.on(\"change\",function(){return e._bitmapView.setClips(e.clips)})),this.container.addChild(this._bitmapView)},i.prototype.detatch=function(){this.container.removeChild(this._bitmapView),this._bitmapView.removeAllChildren()},i=t([n.subclass(\"esri.views.2d.layers.BitmapTileLayerView2D\")],i)}(n.declared(e))}});","// 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/declareExtendsHelper\",\"../../../../../core/tsSupport/decorateHelper\",\"../../../../../core/tsSupport/generatorHelper\",\"../../../../../core/tsSupport/awaiterHelper\",\"../../../../../core/HandleOwner\",\"../../../../../core/accessorSupport/decorators\"],function(e,t,r,o,p,n,l,s){Object.defineProperty(t,\"__esModule\",{value:!0});var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.initialize=function(){},t.prototype.destroy=function(){},Object.defineProperty(t.prototype,\"supportsTileUpdates\",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"spatialReference\",{get:function(){var e=this.get(\"tileStore.tileScheme.spatialReference\");return e&&e.toJSON()||null},enumerable:!0,configurable:!0}),o([s.property({readOnly:!0})],t.prototype,\"supportsTileUpdates\",null),o([s.property({constructOnly:!0})],t.prototype,\"remoteClient\",void 0),o([s.property({constructOnly:!0})],t.prototype,\"service\",void 0),o([s.property({dependsOn:[\"tileStore.tileScheme.spatialReference\"]})],t.prototype,\"spatialReference\",null),o([s.property({constructOnly:!0})],t.prototype,\"tileInfo\",void 0),o([s.property({constructOnly:!0})],t.prototype,\"tileStore\",void 0),t=o([s.subclass(\"esri.views.2d.layers.features.processors.BaseProcessor\")],t)}(s.declared(l.HandleOwner));t.default=c});","// 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/declareExtendsHelper\",\"../../../../../core/tsSupport/decorateHelper\",\"../../../../../core/HandleOwner\",\"../../../../../core/accessorSupport/decorators\"],function(e,t,r,o,i,n){Object.defineProperty(t,\"__esModule\",{value:!0});var p=function(e){function t(t){var r=e.call(this,t)||this;return r.tiles=new Map,r}return r(t,e),t.prototype.destroy=function(){this.tiles.clear(),this.layer=this.layerView=this.tileInfoView=this.tiles=null},Object.defineProperty(t.prototype,\"updating\",{get:function(){return this.isUpdating()},enumerable:!0,configurable:!0}),t.prototype.acquireTile=function(e){var t=this,r=this.createTile(e);return r.once(\"isReady\",function(){return t.notifyChange(\"updating\")}),this.tiles.set(e.id,r),r},t.prototype.lockAttributeTextureUpload=function(){},t.prototype.unlockAttributeTextureUpload=function(){},t.prototype.forceAttributeTextureUpload=function(){},t.prototype.forEachTile=function(e){this.tiles.forEach(e)},t.prototype.releaseTile=function(e){this.tiles.delete(e.key.id),this.disposeTile(e)},t.prototype.isUpdating=function(){var e=!0;return this.tiles.forEach(function(t){e=e&&t.isReady}),!e},t.prototype.setHighlight=function(){},t.prototype.invalidateLabels=function(){},t.prototype.requestUpdate=function(){this.layerView.requestUpdate()},o([n.property()],t.prototype,\"layer\",void 0),o([n.property()],t.prototype,\"layerView\",void 0),o([n.property()],t.prototype,\"tileInfoView\",void 0),o([n.property()],t.prototype,\"updating\",null),t=o([n.subclass(\"esri.views.2d.layers.features.tileRenderers.BaseTileRenderer\")],t)}(n.declared(i.HandleOwner));t.default=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\",\"../../../../core/tsSupport/assignHelper\",\"../../../../core/tsSupport/generatorHelper\",\"../../../../core/tsSupport/awaiterHelper\",\"../../../../core/tsSupport/declareExtendsHelper\",\"../../../../core/tsSupport/decorateHelper\",\"../../../../core/Accessor\",\"../../../../core/promiseUtils\",\"../../../../core/accessorSupport/decorators\",\"../../../../geometry/Extent\",\"../../../../geometry/support/aaBoundingRect\",\"../../../../geometry/support/spatialReferenceUtils\",\"../../../../layers/support/TileInfo\",\"../../engine\",\"../../viewStateUtils\",\"../../tiling/TileInfoView\",\"../../tiling/TileKey\"],function(e,t,r,o,i,a,n,p,s,u,l,c,d,h,g,m,f,y){var x=c.create(),v=[0,0],S=new y(0,0,0,0),M={container:null,fetchSource:null,requestUpdate:null,imageMaxWidth:2048,imageMaxHeight:2048,imageRotationSupported:!1,imageNormalizationSupported:!1,hidpi:!1};return function(e){function t(t){var r=e.call(this,t)||this;return r._imagePromise=null,r.hidpi=M.hidpi,r.imageMaxWidth=M.imageMaxWidth,r.imageMaxHeight=M.imageMaxHeight,r.imageRotationSupported=M.imageRotationSupported,r.imageNormalizationSupported=M.imageNormalizationSupported,r.update=s.debounce(function(e,t){return i(r,void 0,void 0,function(){var r,i,a,n,p,s,u,l,c,h=this;return o(this,function(o){return r=e.state,i=d.getInfo(r.spatialReference),a=this.hidpi?e.pixelRatio:1,!e.stationary||this.destroyed?[2]:(this.imageRotationSupported?(v[0]=r.size[0],v[1]=r.size[1]):m.getOuterSize(v,r),n=Math.floor(v[0]*a)>this.imageMaxWidth||Math.floor(v[1]*a)>this.imageMaxHeight,p=i&&(r.extent.xmin<i.valid[0]||r.extent.xmax>i.valid[1]),s=!this.imageNormalizationSupported&&p,u=!n&&!s,l=this.imageRotationSupported?r.rotation:0,u?this._imagePromise=this._singleExport(r,v,l,a,t):(c=Math.min(this.imageMaxWidth,this.imageMaxHeight),s&&(c=Math.min(r.worldScreenWidth,c)),this._imagePromise=this._tiledExport(r,c,l,a,t)),[2,this._imagePromise.then(function(e){h._imagePromise=null;var t=h.container.children.slice();h.container.removeAllChildren(),e.forEach(h.container.addChild,h.container),h.disposeSource&&t.forEach(function(e){h.disposeSource(e.source)},h)}).catch(function(e){throw h._imagePromise=null,e})])})})},5e3),r}return a(t,e),t.prototype.destroy=function(){},Object.defineProperty(t.prototype,\"updating\",{get:function(){return null!==this._imagePromise},enumerable:!0,configurable:!0}),t.prototype.updateExports=function(e){for(var t=0,r=this.container.children;t<r.length;t++){var o=r[t];if(!o.visible||!o.attached)return;e(o)?console.error(\"ExportStrategy.updateExports doesn't support promise yet\"):(o.invalidateTexture(),o.requestRender())}},t.prototype._export=function(e,t,r,o,i,a){var n=this;return s.resolve().then(function(){return n.fetchSource(e,Math.floor(t*i),Math.floor(r*i),{rotation:o,pixelRatio:i,signal:a})}).then(function(r){var a=new g.Bitmap(r);return a.x=e.xmin,a.y=e.ymax,a.resolution=e.width/t,a.rotation=o,a.pixelRatio=i,a})},t.prototype._singleExport=function(e,t,r,o,i){m.getBBox(x,e.center,e.resolution,t);var a=new l(x[0],x[1],x[2],x[3],e.spatialReference);return this._export(a,t[0],t[1],r,o,i).then(function(e){return[e]})},t.prototype._tiledExport=function(e,t,r,o,i){var a=this,n=h.create({size:t,spatialReference:e.spatialReference,scales:[e.scale]}),p=new f(n),u=p.getTileCoverage(e);if(!u)return null;var c=[];return u.forEach(function(n,s,u,d){S.set(n,s,u,d),p.getTileBounds(x,S);var h=new l(x[0],x[1],x[2],x[3],e.spatialReference);c.push(a._export(h,t,t,r,o,i))}),s.all(c)},n([u.property()],t.prototype,\"_imagePromise\",void 0),n([u.property()],t.prototype,\"container\",void 0),n([u.property()],t.prototype,\"disposeSource\",void 0),n([u.property()],t.prototype,\"fetchSource\",void 0),n([u.property()],t.prototype,\"hidpi\",void 0),n([u.property()],t.prototype,\"imageMaxWidth\",void 0),n([u.property()],t.prototype,\"imageMaxHeight\",void 0),n([u.property()],t.prototype,\"imageRotationSupported\",void 0),n([u.property()],t.prototype,\"imageNormalizationSupported\",void 0),n([u.property()],t.prototype,\"requestUpdate\",void 0),n([u.property({dependsOn:[\"_imagePromise\"]})],t.prototype,\"updating\",null),t=n([u.subclass(\"esri.views.2d.layers.support.ExportStrategy\")],t)}(u.declared(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,n){function r(t){return t*i}function e(t,n,r){var e=r.resolution,o=r.size;return t[0]=e*(Math.round(n[0]/e)+o[0]%2*.5),t[1]=e*(Math.round(n[1]/e)+o[1]%2*.5),t}function o(t,n){var e=r(n.rotation),o=Math.abs(Math.cos(e)),u=Math.abs(Math.sin(e)),a=n.size,i=a[0],s=a[1];return t[0]=Math.round(s*u+i*o),t[1]=Math.round(s*o+i*u),t}function u(t,n,r,e){var o=n[0],u=n[1],a=e[0],i=e[1],s=.5*r;return t[0]=o-s*a,t[1]=u-s*i,t[2]=o+s*a,t[3]=u+s*i,t}function a(t,n){var r=t[0],e=t[1],o=t[2],u=t[3],a=n[0],i=n[1],s=n[2],M=n[3];return!(r>s||o<a||e>M||u<i)}Object.defineProperty(n,\"__esModule\",{value:!0});var i=Math.PI/180;n.snapToPixel=e,n.getOuterSize=o,n.getBBox=u,n.bboxIntersects=a});","// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n// backported and transplited with Babel, with backwards-compat fixes\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n  // if the path tries to go above the root, `up` ends up > 0\n  var up = 0;\n  for (var i = parts.length - 1; i >= 0; i--) {\n    var last = parts[i];\n    if (last === '.') {\n      parts.splice(i, 1);\n    } else if (last === '..') {\n      parts.splice(i, 1);\n      up++;\n    } else if (up) {\n      parts.splice(i, 1);\n      up--;\n    }\n  }\n\n  // if the path is allowed to go above the root, restore leading ..s\n  if (allowAboveRoot) {\n    for (; up--; up) {\n      parts.unshift('..');\n    }\n  }\n\n  return parts;\n}\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n  var resolvedPath = '',\n      resolvedAbsolute = false;\n\n  for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n    var path = (i >= 0) ? arguments[i] : process.cwd();\n\n    // Skip empty and invalid entries\n    if (typeof path !== 'string') {\n      throw new TypeError('Arguments to path.resolve must be strings');\n    } else if (!path) {\n      continue;\n    }\n\n    resolvedPath = path + '/' + resolvedPath;\n    resolvedAbsolute = path.charAt(0) === '/';\n  }\n\n  // At this point the path should be resolved to a full absolute path, but\n  // handle relative paths to be safe (might happen when process.cwd() fails)\n\n  // Normalize the path\n  resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n    return !!p;\n  }), !resolvedAbsolute).join('/');\n\n  return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n  var isAbsolute = exports.isAbsolute(path),\n      trailingSlash = substr(path, -1) === '/';\n\n  // Normalize the path\n  path = normalizeArray(filter(path.split('/'), function(p) {\n    return !!p;\n  }), !isAbsolute).join('/');\n\n  if (!path && !isAbsolute) {\n    path = '.';\n  }\n  if (path && trailingSlash) {\n    path += '/';\n  }\n\n  return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n  return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n  var paths = Array.prototype.slice.call(arguments, 0);\n  return exports.normalize(filter(paths, function(p, index) {\n    if (typeof p !== 'string') {\n      throw new TypeError('Arguments to path.join must be strings');\n    }\n    return p;\n  }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n  from = exports.resolve(from).substr(1);\n  to = exports.resolve(to).substr(1);\n\n  function trim(arr) {\n    var start = 0;\n    for (; start < arr.length; start++) {\n      if (arr[start] !== '') break;\n    }\n\n    var end = arr.length - 1;\n    for (; end >= 0; end--) {\n      if (arr[end] !== '') break;\n    }\n\n    if (start > end) return [];\n    return arr.slice(start, end - start + 1);\n  }\n\n  var fromParts = trim(from.split('/'));\n  var toParts = trim(to.split('/'));\n\n  var length = Math.min(fromParts.length, toParts.length);\n  var samePartsLength = length;\n  for (var i = 0; i < length; i++) {\n    if (fromParts[i] !== toParts[i]) {\n      samePartsLength = i;\n      break;\n    }\n  }\n\n  var outputParts = [];\n  for (var i = samePartsLength; i < fromParts.length; i++) {\n    outputParts.push('..');\n  }\n\n  outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n  return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function (path) {\n  if (typeof path !== 'string') path = path + '';\n  if (path.length === 0) return '.';\n  var code = path.charCodeAt(0);\n  var hasRoot = code === 47 /*/*/;\n  var end = -1;\n  var matchedSlash = true;\n  for (var i = path.length - 1; i >= 1; --i) {\n    code = path.charCodeAt(i);\n    if (code === 47 /*/*/) {\n        if (!matchedSlash) {\n          end = i;\n          break;\n        }\n      } else {\n      // We saw the first non-path separator\n      matchedSlash = false;\n    }\n  }\n\n  if (end === -1) return hasRoot ? '/' : '.';\n  if (hasRoot && end === 1) {\n    // return '//';\n    // Backwards-compat fix:\n    return '/';\n  }\n  return path.slice(0, end);\n};\n\nfunction basename(path) {\n  if (typeof path !== 'string') path = path + '';\n\n  var start = 0;\n  var end = -1;\n  var matchedSlash = true;\n  var i;\n\n  for (i = path.length - 1; i >= 0; --i) {\n    if (path.charCodeAt(i) === 47 /*/*/) {\n        // If we reached a path separator that was not part of a set of path\n        // separators at the end of the string, stop now\n        if (!matchedSlash) {\n          start = i + 1;\n          break;\n        }\n      } else if (end === -1) {\n      // We saw the first non-path separator, mark this as the end of our\n      // path component\n      matchedSlash = false;\n      end = i + 1;\n    }\n  }\n\n  if (end === -1) return '';\n  return path.slice(start, end);\n}\n\n// Uses a mixed approach for backwards-compatibility, as ext behavior changed\n// in new Node.js versions, so only basename() above is backported here\nexports.basename = function (path, ext) {\n  var f = basename(path);\n  if (ext && f.substr(-1 * ext.length) === ext) {\n    f = f.substr(0, f.length - ext.length);\n  }\n  return f;\n};\n\nexports.extname = function (path) {\n  if (typeof path !== 'string') path = path + '';\n  var startDot = -1;\n  var startPart = 0;\n  var end = -1;\n  var matchedSlash = true;\n  // Track the state of characters (if any) we see before our first dot and\n  // after any path separator we find\n  var preDotState = 0;\n  for (var i = path.length - 1; i >= 0; --i) {\n    var code = path.charCodeAt(i);\n    if (code === 47 /*/*/) {\n        // If we reached a path separator that was not part of a set of path\n        // separators at the end of the string, stop now\n        if (!matchedSlash) {\n          startPart = i + 1;\n          break;\n        }\n        continue;\n      }\n    if (end === -1) {\n      // We saw the first non-path separator, mark this as the end of our\n      // extension\n      matchedSlash = false;\n      end = i + 1;\n    }\n    if (code === 46 /*.*/) {\n        // If this is our first dot, mark it as the start of our extension\n        if (startDot === -1)\n          startDot = i;\n        else if (preDotState !== 1)\n          preDotState = 1;\n    } else if (startDot !== -1) {\n      // We saw a non-dot and non-path separator before our dot, so we should\n      // have a good chance at having a non-empty extension\n      preDotState = -1;\n    }\n  }\n\n  if (startDot === -1 || end === -1 ||\n      // We saw a non-dot character immediately before the dot\n      preDotState === 0 ||\n      // The (right-most) trimmed path component is exactly '..'\n      preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n    return '';\n  }\n  return path.slice(startDot, end);\n};\n\nfunction filter (xs, f) {\n    if (xs.filter) return xs.filter(f);\n    var res = [];\n    for (var i = 0; i < xs.length; i++) {\n        if (f(xs[i], i, xs)) res.push(xs[i]);\n    }\n    return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n    ? function (str, start, len) { return str.substr(start, len) }\n    : function (str, start, len) {\n        if (start < 0) start = str.length + start;\n        return str.substr(start, len);\n    }\n;\n"],"sourceRoot":"webpack:///"}