????

Your IP : 3.141.31.45


Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/
Upload File :
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/35-es5.js

(function () {
  var absMids = {
    "esri/layers/VectorTileLayer": "./node_modules/arcgis-js-api/layers/VectorTileLayer.js",
    "esri/layers/support/SpriteSource": "./node_modules/arcgis-js-api/layers/support/SpriteSource.js",
    "esri/layers/support/vectorTileLayerLoader": "./node_modules/arcgis-js-api/layers/support/vectorTileLayerLoader.js",
    "esri/views/2d/engine/vectorTiles/SchemaHelper": "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/SchemaHelper.js",
    "esri/views/2d/engine/vectorTiles/style/VectorTileSource": "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/style/VectorTileSource.js",
    "esri/views/2d/engine/vectorTiles/tileInfoUtils": "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/tileInfoUtils.js"
  };
  var globalObj = this || window;
  var jsonpArray = globalObj["webpackJsonp"] = globalObj["webpackJsonp"] || [];

  if (jsonpArray.registerAbsMids) {
    jsonpArray.registerAbsMids(absMids);
  } else {
    var absMidsWaiting = jsonpArray.absMidsWaiting = jsonpArray.absMidsWaiting || [];
    absMidsWaiting.push(absMids);
  }
})(), (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[35], {
  /***/
  "./node_modules/arcgis-js-api/layers/VectorTileLayer.js":
  /*!**************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/VectorTileLayer.js ***!
    \**************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersVectorTileLayerJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri
    //
    // All rights reserved under the copyright laws of the United States
    // and applicable international laws, treaties, and conventions.
    //
    // This material is licensed for use under the Esri Master License
    // Agreement (MLA), and is bound by the terms of that agreement.
    // You may redistribute and use this code without modification,
    // provided you adhere to the terms of the MLA and include this
    // copyright notice.
    //
    // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
    //
    // For additional information, contact:
    // Environmental Systems Research Institute, Inc.
    // Attn: Contracts and Legal Services Department
    // 380 New York Street
    // Redlands, California, USA 92373
    // USA
    //
    // email: contracts@esri.com
    //
    // See http://js.arcgis.com/4.14/esri/copyright.txt for details.


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__(
    /*! ../core/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../core/tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ../core/tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../core/tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../core/global */
    "./node_modules/arcgis-js-api/core/global.js"), __webpack_require__(
    /*! ../core/MultiOriginJSONSupport */
    "./node_modules/arcgis-js-api/core/MultiOriginJSONSupport.js"), __webpack_require__(
    /*! ../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ../geometry/SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ./Layer */
    "./node_modules/arcgis-js-api/layers/Layer.js"), __webpack_require__(
    /*! ./mixins/ArcGISCachedService */
    "./node_modules/arcgis-js-api/layers/mixins/ArcGISCachedService.js"), __webpack_require__(
    /*! ./mixins/ArcGISService */
    "./node_modules/arcgis-js-api/layers/mixins/ArcGISService.js"), __webpack_require__(
    /*! ./mixins/OperationalLayer */
    "./node_modules/arcgis-js-api/layers/mixins/OperationalLayer.js"), __webpack_require__(
    /*! ./mixins/PortalLayer */
    "./node_modules/arcgis-js-api/layers/mixins/PortalLayer.js"), __webpack_require__(
    /*! ./mixins/ScaleRangeLayer */
    "./node_modules/arcgis-js-api/layers/mixins/ScaleRangeLayer.js"), __webpack_require__(
    /*! ./support/SpriteSource */
    "./node_modules/arcgis-js-api/layers/support/SpriteSource.js"), __webpack_require__(
    /*! ./support/TileInfo */
    "./node_modules/arcgis-js-api/layers/support/TileInfo.js"), __webpack_require__(
    /*! ./support/TilemapCache */
    "./node_modules/arcgis-js-api/layers/support/TilemapCache.js"), __webpack_require__(
    /*! ./support/vectorTileLayerLoader */
    "./node_modules/arcgis-js-api/layers/support/vectorTileLayerLoader.js"), __webpack_require__(
    /*! ../portal/support/jsonContext */
    "./node_modules/arcgis-js-api/portal/support/jsonContext.js"), __webpack_require__(
    /*! ../views/2d/engine/vectorTiles/SchemaHelper */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/SchemaHelper.js"), __webpack_require__(
    /*! ../views/2d/engine/vectorTiles/tileInfoUtils */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/tileInfoUtils.js"), __webpack_require__(
    /*! ../views/2d/engine/vectorTiles/style/StyleRepository */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/style/StyleRepository.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, o, i, n, l, p, a, s, u, c, y, d, f, h, m, S, v, g, b, O, _, P, T, I, U, j, w, N, x) {
      return function (e) {
        function r(r, t) {
          var o = e.call(this, r) || this;
          return o._spriteSourceMap = new Map(), o.currentStyleInfo = null, o.style = null, o.isReference = null, o.operationalLayerType = "VectorTileLayer", o.type = "vector-tile", o.url = null, o;
        }

        return o(r, e), r.prototype.normalizeCtorArgs = function (e, r) {
          return "string" == typeof e ? t({
            url: e
          }, r) : e;
        }, r.prototype.prefetchResources = function (e) {
          return l(this, void 0, void 0, function () {
            return n(this, function (r) {
              switch (r.label) {
                case 0:
                  return [4, this.loadSpriteSource(s.devicePixelRatio || 1, e)];

                case 1:
                  return r.sent(), [2];
              }
            });
          });
        }, r.prototype.load = function (e) {
          var r = this,
              o = this.loadFromPortal({
            supportedTypes: ["Vector Tile Service"],
            supportsData: !1
          }, e).then(function () {
            return l(r, void 0, void 0, function () {
              var r, o;
              return n(this, function (i) {
                switch (i.label) {
                  case 0:
                    return this.portalItem && this.portalItem.id ? (r = this.portalItem.itemUrl + "/resources/styles/root.json", [4, p(r, t({}, e, {
                      query: {
                        f: "json"
                      }
                    }))]) : [2];

                  case 1:
                    return o = i.sent(), o.data && this.read({
                      url: r
                    }, j.createForItem(this.portalItem)), [2];
                }
              });
            });
          }).then(function () {
            return r._loadStyle(e);
          }, function () {
            return r._loadStyle(e);
          });
          return this.addResolvingPromise(o), this.when();
        }, Object.defineProperty(r.prototype, "attributionDataUrl", {
          get: function get() {
            var e = this.currentStyleInfo,
                r = e && e.serviceUrl && d.urlToObject(e.serviceUrl);
            return r ? this._getDefaultAttribution(r.path) : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "capabilities", {
          get: function get() {
            var e = this._getPrimarySource();

            return e ? e.capabilities : {
              operations: {
                supportsExportTiles: !1,
                supportsTileMap: !1
              },
              exportTiles: null
            };
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "fullExtent", {
          get: function get() {
            var e = this._getPrimarySource();

            return e ? e.fullExtent : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "parsedUrl", {
          get: function get() {
            return this.serviceUrl ? y.urlToObject(this.serviceUrl) : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "serviceUrl", {
          get: function get() {
            return this.currentStyleInfo && this.currentStyleInfo.serviceUrl || null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "spatialReference", {
          get: function get() {
            return this.tileInfo && this.tileInfo.spatialReference || null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "styleUrl", {
          get: function get() {
            return this.currentStyleInfo && this.currentStyleInfo.styleUrl || null;
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.writeStyleUrl = function (e, r) {
          e && d.isProtocolRelative(e) && (e = "https:" + e), r.styleUrl = e;
        }, Object.defineProperty(r.prototype, "tileIndexType", {
          get: function get() {
            var e = this._getPrimarySource();

            return e ? e.type : "";
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "tileIndexUrl", {
          get: function get() {
            var e = this._getPrimarySource();

            return e ? e.tileMapURL : "";
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "tileInfo", {
          get: function get() {
            var e = [];

            for (var r in this.sourceNameToSource) e.push(this.sourceNameToSource[r]);

            var t = this._getPrimarySource().tileInfo;

            if (e.length > 1) for (var o = 0; o < e.length; o++) N.areSchemasOverlapping(t, e[o].tileInfo) && (t = N.unionTileInfos(t, e[o].tileInfo));
            return t;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "tilemapCache", {
          get: function get() {
            var e = this._getPrimarySource();

            return e && e.capabilities.operations.supportsTileMap ? e.tilemapCache : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "tileServers", {
          get: function get() {
            var e = this._getPrimarySource();

            return e ? e.tileServers : [];
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.readVersion = function (e, r) {
          return r.version ? parseFloat(r.version) : parseFloat(r.currentVersion);
        }, Object.defineProperty(r.prototype, "compatibleTileInfo256", {
          get: function get() {
            return w.create256x256CompatibleTileInfo(this.tileInfo);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(r.prototype, "compatibleTileInfo512", {
          get: function get() {
            return w.create512x512CompatibleTileInfo(this.tileInfo);
          },
          enumerable: !0,
          configurable: !0
        }), r.prototype.loadSpriteSource = function (e, r) {
          return void 0 === e && (e = 1), l(this, void 0, void 0, function () {
            var t, o;
            return n(this, function (i) {
              return this._spriteSourceMap.has(e) || (t = new P["default"](this.styleRepository.sprite, e), this._spriteSourceMap.set(e, t.load())), o = this._spriteSourceMap.get(e), [2, c.create(function (e, t) {
                o.then(e, t), c.onAbortOrThrow(r, t);
              })];
            });
          });
        }, r.prototype.loadStyle = function (e, r) {
          return l(this, void 0, void 0, function () {
            var t,
                o,
                i,
                l = this;
            return n(this, function (n) {
              return t = e || this.style || this.url, this._loadingPromise && "string" == typeof t && this.url === t && !c.isAborted(this._abortController) ? [2, this._loadingPromise] : (o = this._abortController, o && o.abort(), i = c.createAbortController(), this._loadingPromise = c.create(function (e, o) {
                var n = {
                  signal: i.signal
                };
                l._spriteSourceMap.clear(), l._getSourceAndStyle(t, n).then(e, o), c.onAbort(r, function () {
                  i.abort();
                });
              }), this._abortController = i, [2, this._loadingPromise]);
            });
          });
        }, r.prototype.getStyleLayerId = function (e) {
          return this.styleRepository.getStyleLayerId(e);
        }, r.prototype.getPaintProperties = function (e) {
          return this.styleRepository.getPaintProperties(e);
        }, r.prototype.setPaintProperties = function (e, r) {
          var t = this.styleRepository.isPainterDataDriven(e),
              o = this.styleRepository.setPaintProperties(e, r),
              i = this.styleRepository.isPainterDataDriven(e);
          this.emit("paint-change", {
            layer: o,
            paint: r
          }), (t || i) && this.emit("layout-change", {
            layer: o,
            layout: this.styleRepository.getLayoutProperties(e)
          });
        }, r.prototype.getLayoutProperties = function (e) {
          return this.styleRepository.getLayoutProperties(e);
        }, r.prototype.setLayoutProperties = function (e, r) {
          var t = this.styleRepository.setLayoutProperties(e, r);
          this.emit("layout-change", {
            layer: t,
            layout: r
          });
        }, r.prototype.getTileUrl = function (e, r, t) {
          var o = this.tileServers[r % this.tileServers.length];
          return o = o.replace(/\{z\}/gi, e.toString()).replace(/\{y\}/gi, r.toString()).replace(/\{x\}/gi, t.toString());
        }, r.prototype.write = function (e, r) {
          return r && r.origin && !this.styleUrl ? (r.messages && r.messages.push(new a("vectortilelayer:unsupported", "VectorTileLayer (" + this.title + ", " + this.id + ") with style defined by JSON only are not supported", {
            layer: this
          })), null) : this.inherited(arguments, [e, r]);
        }, r.prototype._getSourceAndStyle = function (e, r) {
          return l(this, void 0, void 0, function () {
            var t;
            return n(this, function (o) {
              switch (o.label) {
                case 0:
                  if (!e) throw new Error("invalid style!");
                  return [4, U.loadMetadata(e, r)];

                case 1:
                  return t = o.sent(), this._set("currentStyleInfo", {
                    serviceUrl: t.serviceUrl,
                    styleUrl: t.styleUrl,
                    spriteUrl: t.spriteUrl,
                    glyphsUrl: t.glyphsUrl,
                    style: t.style,
                    layerDefinition: t.layerDefinition
                  }), "string" == typeof e ? (this.url = e, this.style = null) : (this.url = null, this.style = e), this._set("sourceNameToSource", t.sourceNameToSource), this._set("primarySourceName", t.primarySourceName), this._set("styleRepository", new x(t.style, t)), this.read(t.layerDefinition, {
                    origin: "service"
                  }), [2];
              }
            });
          });
        }, r.prototype._getDefaultAttribution = function (e) {
          var r = e.match(/^https?:\/\/(basemaps|basemapsbeta|basemapsdev)\.arcgis\.com(\/[^\/]+)?\/arcgis\/rest\/services\/([^\/]+(\/[^\/]+)*)\/vectortileserver/i),
              t = ["OpenStreetMap_v2", "OpenStreetMap_Export_v2", "OpenStreetMap_FTS_v2", "OpenStreetMap_GCS_v2", "World_Basemap", "World_Basemap_v2", "World_Basemap_Export_v2", "World_Basemap_GCS_v2", "World_Basemap_WGS84"];

          if (r) {
            var o = r[3] && r[3].toLowerCase();
            if (o) for (var i = r[2] || "", n = 0, l = t; n < l.length; n++) {
              var p = l[n];
              if (p.toLowerCase().indexOf(o) > -1) return d.normalize("//static.arcgis.com/attribution/Vector" + i + "/" + p);
            }
          }
        }, r.prototype._getPrimarySource = function () {
          return this.sourceNameToSource && this.primarySourceName in this.sourceNameToSource ? this.sourceNameToSource[this.primarySourceName] : null;
        }, r.prototype._loadStyle = function (e) {
          return l(this, void 0, void 0, function () {
            return n(this, function (r) {
              return this._loadingPromise ? [2, this._loadingPromise] : [2, this.loadStyle(null, e)];
            });
          });
        }, i([f.property({
          readOnly: !0,
          dependsOn: ["currentStyleInfo"]
        })], r.prototype, "attributionDataUrl", null), i([f.property({
          type: ["show", "hide"]
        })], r.prototype, "listMode", void 0), i([f.property({
          json: {
            read: !1
          },
          readOnly: !0,
          dependsOn: ["sourceNameToSource", "primarySourceName"]
        })], r.prototype, "capabilities", null), i([f.property({
          readOnly: !0
        })], r.prototype, "currentStyleInfo", void 0), i([f.property({
          json: {
            read: !1
          },
          readOnly: !0,
          type: h,
          dependsOn: ["sourceNameToSource", "primarySourceName"]
        })], r.prototype, "fullExtent", null), i([f.property()], r.prototype, "style", void 0), i([f.property({
          type: Boolean,
          json: {
            read: !1,
            write: {
              enabled: !0,
              overridePolicy: function overridePolicy() {
                return {
                  enabled: !1
                };
              }
            }
          }
        })], r.prototype, "isReference", void 0), i([f.property({
          type: ["VectorTileLayer"]
        })], r.prototype, "operationalLayerType", void 0), i([f.property({
          readOnly: !0,
          dependsOn: ["serviceUrl"]
        })], r.prototype, "parsedUrl", null), i([f.property({
          readOnly: !0,
          dependsOn: ["currentStyleInfo"]
        })], r.prototype, "serviceUrl", null), i([f.property({
          type: m,
          dependsOn: ["tileInfo"],
          readOnly: !0
        })], r.prototype, "spatialReference", null), i([f.property({
          readOnly: !0
        })], r.prototype, "styleRepository", void 0), i([f.property({
          readOnly: !0
        })], r.prototype, "sourceNameToSource", void 0), i([f.property({
          readOnly: !0
        })], r.prototype, "primarySourceName", void 0), i([f.property({
          type: String,
          readOnly: !0,
          dependsOn: ["currentStyleInfo"],
          json: {
            write: {
              ignoreOrigin: !0
            },
            origins: {
              "web-document": {
                write: {
                  ignoreOrigin: !0,
                  isRequired: !0
                }
              }
            }
          }
        })], r.prototype, "styleUrl", null), i([f.writer(["portal-item", "web-document"], "styleUrl")], r.prototype, "writeStyleUrl", null), i([f.property({
          json: {
            read: !1
          },
          readOnly: !0,
          dependsOn: ["sourceNameToSource", "primarySourceName"]
        })], r.prototype, "tileIndexType", null), i([f.property({
          json: {
            read: !1
          },
          readOnly: !0,
          dependsOn: ["sourceNameToSource", "primarySourceName"]
        })], r.prototype, "tileIndexUrl", null), i([f.property({
          json: {
            read: !1,
            origins: {
              service: {
                read: !1
              }
            }
          },
          readOnly: !0,
          type: T,
          dependsOn: ["sourceNameToSource", "primarySourceName"]
        })], r.prototype, "tileInfo", null), i([f.property({
          json: {
            read: !1
          },
          readOnly: !0,
          type: I.TilemapCache,
          dependsOn: ["sourceNameToSource", "primarySourceName"]
        })], r.prototype, "tilemapCache", null), i([f.property({
          json: {
            read: !1
          },
          readOnly: !0,
          dependsOn: ["sourceNameToSource", "primarySourceName"]
        })], r.prototype, "tileServers", null), i([f.property({
          json: {
            read: !1
          },
          readOnly: !0,
          value: "vector-tile"
        })], r.prototype, "type", void 0), i([f.property({
          json: {
            origins: {
              "web-document": {
                read: {
                  source: "styleUrl"
                }
              },
              "portal-item": {
                read: {
                  source: "url"
                }
              }
            },
            write: !1,
            read: !1
          }
        })], r.prototype, "url", void 0), i([f.property({
          readOnly: !0
        })], r.prototype, "version", void 0), i([f.reader("version", ["version", "currentVersion"])], r.prototype, "readVersion", null), i([f.property({
          readOnly: !0,
          dependsOn: ["tileInfo"]
        })], r.prototype, "compatibleTileInfo256", null), i([f.property({
          readOnly: !0,
          dependsOn: ["tileInfo"]
        })], r.prototype, "compatibleTileInfo512", null), r = i([f.subclass("esri.layers.VectorTileLayer")], r);
      }(f.declared(_.ScaleRangeLayer(v.ArcGISCachedService(g.ArcGISService(b.OperationalLayer(O.PortalLayer(u.MultiOriginJSONMixin(S))))))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/layers/support/SpriteSource.js":
  /*!*******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/support/SpriteSource.js ***!
    \*******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportSpriteSourceJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri
    //
    // All rights reserved under the copyright laws of the United States
    // and applicable international laws, treaties, and conventions.
    //
    // This material is licensed for use under the Esri Master License
    // Agreement (MLA), and is bound by the terms of that agreement.
    // You may redistribute and use this code without modification,
    // provided you adhere to the terms of the MLA and include this
    // copyright notice.
    //
    // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
    //
    // For additional information, contact:
    // Environmental Systems Research Institute, Inc.
    // Attn: Contracts and Legal Services Department
    // 380 New York Street
    // Redlands, California, USA 92373
    // USA
    //
    // email: contracts@esri.com
    //
    // See http://js.arcgis.com/4.14/esri/copyright.txt for details.


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__(
    /*! ../../core/tsSupport/extendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/extendsHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../core/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, i, a, s, o, n, h, l, u, p) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var d = u.getLogger("esri.layers.support.SpriteSource"),
          c = function () {
        function e(e, t) {
          this.baseURL = e, this.devicePixelRatio = t, this._isRetina = !1, this._spritesData = {}, this.image = null, this.width = null, this.height = null, this.loadStatus = "not-loaded";
        }

        return Object.defineProperty(e.prototype, "spriteNames", {
          get: function get() {
            var e = [];

            for (var t in this._spritesData) e.push(t);

            return e.sort(), e;
          },
          enumerable: !0,
          configurable: !0
        }), e.prototype.getSpriteInfo = function (e) {
          return this._spritesData[e];
        }, e.prototype.load = function (e) {
          return o(this, void 0, void 0, function () {
            var t;
            return s(this, function (r) {
              switch (r.label) {
                case 0:
                  if (p.throwIfAborted(e), this.loadStatus = "loading", !this.baseURL) return [2, p.resolve(this)];
                  r.label = 1;

                case 1:
                  return r.trys.push([1, 3,, 4]), [4, this._loadSprites(e)];

                case 2:
                  return r.sent(), this.loadStatus = "loaded", [3, 4];

                case 3:
                  return t = r.sent(), this.loadStatus = "failed", [3, 4];

                case 4:
                  return [2, this];
              }
            });
          });
        }, e.prototype._loadSprites = function (e) {
          var t = this;
          this._isRetina = this.devicePixelRatio > 1.15;
          var r = this.baseURL,
              i = this._isRetina ? "@2x" : "",
              s = "" + r + i + ".png";
          return p.all([n(r + i + ".json", e), n(s, a({
            responseType: "image"
          }, e))]).then(function (e) {
            var i = e[0],
                a = e[1],
                s = Object.keys(i.data);
            if (!s || 0 === s.length || 1 === s.length && "_ssl" === s[0] || !a || !a.data) return t._spritesData = t.image = null, t.width = t.height = 0, p.resolve(null);
            t._spritesData = i.data;
            var o = a.data,
                n = Math.max(l("esri-webgl-max-texture-size"), 4096);

            if (o.width > n || o.height > n) {
              var u = "Sprite resource for style " + r + " is bigger than the maximum allowed of " + n + " pixels}";
              throw d.error(u), new h("SpriteSource", u);
            }

            t.width = o.width, t.height = o.height;
            var c = document.createElement("canvas"),
                g = c.getContext("2d");
            c.width = o.width, c.height = o.height, g.drawImage(o, 0, 0, o.width, o.height);

            for (var f, v = g.getImageData(0, 0, o.width, o.height), w = new Uint8Array(v.data), S = 0; S < w.length; S += 4) f = w[S + 3] / 255, w[S] = w[S] * f, w[S + 1] = w[S + 1] * f, w[S + 2] = w[S + 2] * f;

            t.image = w;
          });
        }, e;
      }();

      t["default"] = c;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/layers/support/vectorTileLayerLoader.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/support/vectorTileLayerLoader.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersSupportVectorTileLayerLoaderJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri
    //
    // All rights reserved under the copyright laws of the United States
    // and applicable international laws, treaties, and conventions.
    //
    // This material is licensed for use under the Esri Master License
    // Agreement (MLA), and is bound by the terms of that agreement.
    // You may redistribute and use this code without modification,
    // provided you adhere to the terms of the MLA and include this
    // copyright notice.
    //
    // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
    //
    // For additional information, contact:
    // Environmental Systems Research Institute, Inc.
    // Attn: Contracts and Legal Services Department
    // 380 New York Street
    // Redlands, California, USA 92373
    // USA
    //
    // email: contracts@esri.com
    //
    // See http://js.arcgis.com/4.14/esri/copyright.txt for details.


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__(
    /*! ../../core/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../config */
    "./node_modules/arcgis-js-api/config.js"), __webpack_require__(
    /*! ../../request */
    "./node_modules/arcgis-js-api/request.js"), __webpack_require__(
    /*! ../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../../views/2d/engine/vectorTiles/style/VectorTileSource */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/style/VectorTileSource.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, l, s, o, n, i, u, a) {
      function c(e, r) {
        return s(this, void 0, void 0, function () {
          var t, s, o, n, i, a;
          return l(this, function (l) {
            switch (l.label) {
              case 0:
                return t = {
                  source: null,
                  sourceBase: null,
                  sourceUrl: null,
                  validatedSource: null,
                  style: null,
                  styleBase: null,
                  styleUrl: null,
                  sourceNameToSource: {},
                  primarySourceName: ""
                }, s = "string" == typeof e ? [e, null] : [null, e.jsonUrl], o = s[0], n = s[1], i = o ? u.urlToObject(o) : null, [4, y(t, "esri", e, n, r)];

              case 1:
                return l.sent(), a = {
                  layerDefinition: t.validatedSource,
                  url: o,
                  parsedUrl: i,
                  serviceUrl: t.sourceUrl,
                  style: t.style,
                  styleUrl: t.styleUrl,
                  spriteUrl: t.style.sprite && p(t.styleBase, t.style.sprite),
                  glyphsUrl: t.style.glyphs && p(t.styleBase, t.style.glyphs),
                  sourceNameToSource: t.sourceNameToSource,
                  primarySourceName: t.primarySourceName
                }, f(a.spriteUrl), f(a.glyphsUrl), [2, a];
            }
          });
        });
      }

      function f(e) {
        if (e) {
          var r = u.getOrigin(e);
          U && -1 === U.indexOf(r) && U.push(r);
        }
      }

      function p() {
        for (var e = [], r = 0; r < arguments.length; r++) e[r] = arguments[r];

        for (var t = void 0, l = 0; l < e.length; ++l) if (u.isProtocolRelative(e[l])) {
          if (t) {
            var s = t.split("://")[0];
            t = s + ":" + e[l].trim();
          }
        } else t = u.isAbsolute(e[l]) ? e[l] : u.join(t, e[l]);

        return u.removeTrailingSlash(t);
      }

      function y(e, r, o, a, c) {
        return s(this, void 0, void 0, function () {
          var s, p, y, S, U, g;
          return l(this, function (l) {
            switch (l.label) {
              case 0:
                return i.throwIfAborted(c), "string" != typeof o ? [3, 2] : (S = u.normalize(o), f(S), U = u.urlToObject(S), [4, n(U.path, t({
                  query: {
                    f: "json"
                  },
                  responseType: "json"
                }, c))]);

              case 1:
                return y = l.sent(), s = S, p = S, [3, 3];

              case 2:
                y = {
                  data: o
                }, s = o.jsonUrl || null, p = a, l.label = 3;

              case 3:
                return g = y.data, y.ssl && (s && (s = s.replace(/^http:/i, "https:")), p && (p = p.replace(/^http:/i, "https:"))), d(g) ? (e.styleUrl = s || null, [2, m(e, g, p, c)]) : h(g) ? e.sourceUrl ? [2, v(e, g, p, !1, r, c)] : (e.sourceUrl = s || null, [2, v(e, g, p, !0, r, c)]) : [2, i.reject("You must specify the URL or the JSON for a service or for a style.")];
            }
          });
        });
      }

      function d(e) {
        return !!e.sources;
      }

      function h(e) {
        return !d(e);
      }

      function m(e, r, t, o) {
        return s(this, void 0, void 0, function () {
          var s, n, a, c, d, h;
          return l(this, function (l) {
            switch (l.label) {
              case 0:
                return s = t ? u.removeFile(t) : u.appBaseUrl, (e.styleBase = s, e.style = r, e.styleUrl && f(e.styleUrl), n = [], r.sources && r.sources.esri) ? (a = r.sources.esri, a.url ? [4, y(e, "esri", p(s, a.url), void 0, o)] : [3, 2]) : [3, 3];

              case 1:
                return l.sent(), [3, 3];

              case 2:
                n.push(y(e, "esri", a, s, o)), l.label = 3;

              case 3:
                for (c = 0, d = Object.keys(r.sources); c < d.length; c++) "esri" !== (h = d[c]) && "vector" === r.sources[h].type && (r.sources[h].url ? n.push(y(e, h, p(s, r.sources[h].url), void 0, o)) : n.push(y(e, h, r.sources[h], s, o)));

                return [4, i.all(n)];

              case 4:
                return l.sent(), [2];
            }
          });
        });
      }

      function v(e, r, t, o, n, c) {
        return s(this, void 0, void 0, function () {
          var s, d, h, m;
          return l(this, function (l) {
            if (s = t ? u.removeTrailingSlash(t) + "/" : u.appBaseUrl, d = S(r, s), h = new a(n, s, d), !o && e.primarySourceName in e.sourceNameToSource) {
              if (m = e.sourceNameToSource[e.primarySourceName], !m.isCompatibleWith(h)) return [2, i.resolve()];
              null != h.fullExtent && (null != m.fullExtent ? m.fullExtent.union(h.fullExtent) : m.fullExtent = h.fullExtent.clone()), m.tileInfo.lods.length < h.tileInfo.lods.length && (m.tileInfo = h.tileInfo);
            }

            return o ? (e.sourceBase = s, e.source = r, e.validatedSource = d, e.primarySourceName = n, e.sourceUrl && f(e.sourceUrl)) : f(s), e.sourceNameToSource[n] = h, e.style ? [2] : null == r.defaultStyles ? [2, i.reject()] : "string" == typeof r.defaultStyles ? [2, y(e, "", p(s, r.defaultStyles, "root.json"), void 0, c)] : [2, y(e, "", r.defaultStyles, p(s, "root.json"), c)];
          });
        });
      }

      function S(e, r) {
        if (e.hasOwnProperty("tileInfo")) return e;

        for (var t = {
          xmin: -20037507.067161843,
          ymin: -20037507.067161843,
          xmax: 20037507.067161843,
          ymax: 20037507.067161843,
          spatialReference: {
            wkid: 102100
          }
        }, l = 78271.51696400007, s = 295828763.7957775, o = [], n = e.hasOwnProperty("minzoom") ? parseFloat(e.minzoom) : 0, i = e.hasOwnProperty("maxzoom") ? parseFloat(e.maxzoom) : 16, u = 0; u <= i; u++) u >= n && o.push({
          level: u,
          scale: s,
          resolution: l
        }), l /= 2, s /= 2;

        for (var a = 0, c = e.tiles; a < c.length; a++) {
          f(p(r, c[a]));
        }

        return {
          capabilities: "TilesOnly",
          initialExtent: t,
          fullExtent: t,
          minScale: o[0].scale,
          maxScale: o[o.length - 1].scale,
          tiles: e.tiles,
          tileInfo: {
            rows: 512,
            cols: 512,
            dpi: 96,
            format: "pbf",
            origin: {
              x: -20037508.342787,
              y: 20037508.342787
            },
            lods: o,
            spatialReference: {
              wkid: 102100
            }
          }
        };
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var U = o.defaults && o.defaults.io.corsEnabledServers;
      r.loadMetadata = c;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/SchemaHelper.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/SchemaHelper.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineVectorTilesSchemaHelperJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri
    //
    // All rights reserved under the copyright laws of the United States
    // and applicable international laws, treaties, and conventions.
    //
    // This material is licensed for use under the Esri Master License
    // Agreement (MLA), and is bound by the terms of that agreement.
    // You may redistribute and use this code without modification,
    // provided you adhere to the terms of the MLA and include this
    // copyright notice.
    //
    // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
    //
    // For additional information, contact:
    // Environmental Systems Research Institute, Inc.
    // Attn: Contracts and Legal Services Department
    // 380 New York Street
    // Redlands, California, USA 92373
    // USA
    //
    // email: contracts@esri.com
    //
    // See http://js.arcgis.com/4.14/esri/copyright.txt for details.


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__(
    /*! ../../../../layers/support/LOD */
    "./node_modules/arcgis-js-api/layers/support/LOD.js"), __webpack_require__(
    /*! ../../../../layers/support/TileInfo */
    "./node_modules/arcgis-js-api/layers/support/TileInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, i, t, r) {
      return function () {
        function e(e, i) {
          this.lockedSchemaPixelSize = e, this.isGCS = i;
        }

        return e.prototype.getLevelRowColumn = function (e) {
          return this.isGCS ? [e[0], e[1] >> 1, e[2] >> 1] : 256 === this.lockedSchemaPixelSize && e[0] > 0 ? [e[0] - 1, e[1] >> 1, e[2] >> 1] : e;
        }, e.prototype.adjustLevel = function (e) {
          return this.isGCS ? e : 256 === this.lockedSchemaPixelSize ? e > 0 ? e - 1 : 0 : e;
        }, e.prototype.getShift = function (e, i) {
          var t = 0,
              r = 0;
          return (256 === this.lockedSchemaPixelSize || this.isGCS) && (e[2] % 2 && (t = i), e[1] % 2 && (r = i)), [t, r];
        }, e.prototype.getScale = function (e) {
          if (this.isGCS) {
            if (512 === this.lockedSchemaPixelSize) return 4;
          } else if (256 === this.lockedSchemaPixelSize && 0 === e) return 1;

          return 2;
        }, e.create256x256CompatibleTileInfo = function (e) {
          if (!e) return null;
          if (256 === e.size[0] && 256 === e.size[1]) return e;

          for (var i = e.spatialReference.isGeographic, o = [], l = e.lods.length, n = 0; n < l; n++) {
            var s = e.lods[n],
                a = i ? s.resolution : 2 * s.resolution;
            o.push(new t({
              level: s.level,
              scale: s.scale,
              resolution: a
            }));
          }

          return new r({
            size: [256, 256],
            dpi: e.dpi,
            format: e.format,
            compressionQuality: e.compressionQuality,
            origin: e.origin,
            spatialReference: e.spatialReference,
            lods: o
          });
        }, e.create512x512CompatibleTileInfo = function (e) {
          if (!e) return null;
          if (256 === e.size[0] || 256 === e.size[1]) return null;

          for (var i = [], o = e.lods.length, l = 0; l < o; l++) {
            var n = e.lods[l],
                s = .5 * n.resolution;
            i.push(new t({
              level: n.level,
              scale: n.scale,
              resolution: s
            }));
          }

          return new r({
            size: [512, 512],
            dpi: e.dpi,
            format: e.format,
            compressionQuality: e.compressionQuality,
            origin: e.origin,
            spatialReference: e.spatialReference,
            lods: i
          });
        }, e;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/style/VectorTileSource.js":
  /*!******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/style/VectorTileSource.js ***!
    \******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineVectorTilesStyleVectorTileSourceJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri
    //
    // All rights reserved under the copyright laws of the United States
    // and applicable international laws, treaties, and conventions.
    //
    // This material is licensed for use under the Esri Master License
    // Agreement (MLA), and is bound by the terms of that agreement.
    // You may redistribute and use this code without modification,
    // provided you adhere to the terms of the MLA and include this
    // copyright notice.
    //
    // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
    //
    // For additional information, contact:
    // Environmental Systems Research Institute, Inc.
    // Attn: Contracts and Legal Services Department
    // 380 New York Street
    // Redlands, California, USA 92373
    // USA
    //
    // email: contracts@esri.com
    //
    // See http://js.arcgis.com/4.14/esri/copyright.txt for details.


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__(
    /*! ../../../../../core/tsSupport/generatorHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"), __webpack_require__(
    /*! ../../../../../core/tsSupport/awaiterHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"), __webpack_require__(
    /*! ../../../../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../../../../core/urlUtils */
    "./node_modules/arcgis-js-api/core/urlUtils.js"), __webpack_require__(
    /*! ../../../../../geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js"), __webpack_require__(
    /*! ../../../../../layers/support/serviceTileInfoProperty */
    "./node_modules/arcgis-js-api/layers/support/serviceTileInfoProperty.js"), __webpack_require__(
    /*! ../../../../../layers/support/TilemapCache */
    "./node_modules/arcgis-js-api/layers/support/TilemapCache.js"), __webpack_require__(
    /*! ../TileIndex */
    "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/TileIndex.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, i, r, l, n, o, s, a, p) {
      return function () {
        function e(e, t, i) {
          this.tileMapURL = "", this.tilemapCache = null, this.parsedUrl = null, this.tileInfo = null, this.capabilities = null, this.tileIndex = null, this.fullExtent = null, this.name = e, this.sourceUrl = t, t && (this.parsedUrl = n.urlToObject(this.sourceUrl));
          var r = l.clone(i),
              u = r.tiles;
          t && u.forEach(function (e, i) {
            n.isAbsolute(e) || (u[i] = n.join(t, e));
          }), this.tileServers = u, i.tileMap && (this.tileMapURL = n.join(t, i.tileMap));
          var h = i.capabilities && i.capabilities.split(",").map(function (e) {
            return e.toLowerCase().trim();
          }),
              c = !!i.exportTilesAllowed,
              f = !!h && -1 !== h.indexOf("tilemap"),
              d = c && i.hasOwnProperty("maxExportTilesCount") ? i.maxExportTilesCount : 0;
          this.capabilities = {
            operations: {
              supportsExportTiles: c,
              supportsTileMap: f
            },
            exportTiles: c ? {
              maxExportTilesCount: +d
            } : null
          }, this.tileInfo = s.readServiceTileInfo(r.tileInfo, r, null, {
            ignoreMinMaxLOD: !0
          }), f && (this.type = "vector-tile", this.tilemapCache = new a.TilemapCache({
            layer: this
          }), this.tilemapCache && (this.tileIndex = new p(this.tilemapCache))), this.fullExtent = o.fromJSON(i.fullExtent);
        }

        return e.prototype.getRefKey = function (e, t) {
          return r(this, void 0, void 0, function () {
            return i(this, function (i) {
              return this.tileIndex ? [2, this.tileIndex.dataKey(e, t)] : [2, e];
            });
          });
        }, e.prototype.getSourceTileUrl = function (e, t, i) {
          var r = this.tileServers[t % this.tileServers.length];
          return r = r.replace(/\{z\}/gi, e.toString()).replace(/\{y\}/gi, t.toString()).replace(/\{x\}/gi, i.toString());
        }, e.prototype.isCompatibleWith = function (e) {
          var t = this.tileInfo,
              i = e.tileInfo;
          if (!t.spatialReference.equals(i.spatialReference)) return !1;
          if (!t.origin.equals(i.origin)) return !1;
          if (Math.round(t.dpi) !== Math.round(i.dpi)) return !1;

          for (var r = t.lods, l = i.lods, n = Math.min(r.length, l.length), o = 0; o < n; o++) {
            var s = r[o],
                a = l[o];
            if (s.level !== a.level || Math.round(s.scale) !== Math.round(a.scale)) return !1;
          }

          return !0;
        }, e;
      }();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/tileInfoUtils.js":
  /*!*********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/engine/vectorTiles/tileInfoUtils.js ***!
    \*********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dEngineVectorTilesTileInfoUtilsJs(module, exports, __webpack_require__) {
    var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; // COPYRIGHT © 2019 Esri
    //
    // All rights reserved under the copyright laws of the United States
    // and applicable international laws, treaties, and conventions.
    //
    // This material is licensed for use under the Esri Master License
    // Agreement (MLA), and is bound by the terms of that agreement.
    // You may redistribute and use this code without modification,
    // provided you adhere to the terms of the MLA and include this
    // copyright notice.
    //
    // See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
    //
    // For additional information, contact:
    // Environmental Systems Research Institute, Inc.
    // Attn: Contracts and Legal Services Department
    // 380 New York Street
    // Redlands, California, USA 92373
    // USA
    //
    // email: contracts@esri.com
    //
    // See http://js.arcgis.com/4.14/esri/copyright.txt for details.


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __webpack_require__(
    /*! ../../../../layers/support/TileInfo */
    "./node_modules/arcgis-js-api/layers/support/TileInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, l, r) {
      function s(e, l) {
        if (e === l) return !0;
        if (!e && null != l) return !1;
        if (null != e && !l) return !1;
        if (!e.spatialReference.equals(l.spatialReference) || e.dpi !== l.dpi) return !1;
        var r = e.origin,
            s = l.origin;
        if (Math.abs(r.x - s.x) >= o || Math.abs(r.y - s.y) >= o) return !1;
        var n,
            i,
            a = e.lods[0].scale,
            t = l.lods[0].scale;
        a > t ? (n = e, i = l) : (i = e, n = l);

        for (var u = n.lods[0].scale; u >= i.lods[i.lods.length - 1].scale - o; u /= 2) if (Math.abs(u - i.lods[0].scale) < o) return !0;

        return !1;
      }

      function n(e, l) {
        if (e === l) return e;
        if (!e && null != l) return l;
        if (null != e && !l) return e;

        for (var s = e.size[0], n = e.format, o = e.dpi, i = {
          x: e.origin.x,
          y: e.origin.y
        }, a = e.spatialReference.toJSON(), t = e.lods[0].scale > l.lods[0].scale ? e.lods[0] : l.lods[0], u = e.lods[e.lods.length - 1].scale <= l.lods[l.lods.length - 1].scale ? e.lods[e.lods.length - 1] : l.lods[l.lods.length - 1], d = t.scale, f = t.resolution, c = u.scale, p = [], g = d, h = f, v = 0; g > c;) p.push({
          level: v,
          resolution: h,
          scale: g
        }), v++, g /= 2, h /= 2;

        return new r({
          size: [s, s],
          dpi: o,
          format: n || "pbf",
          origin: i,
          lods: p,
          spatialReference: a
        });
      }

      Object.defineProperty(l, "__esModule", {
        value: !0
      });
      var o = 1e-6;
      l.areSchemasOverlapping = s, l.unionTileInfos = n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  }
}]);
//# sourceMappingURL=35-es5.js.map