????

Your IP : 3.17.152.174


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

(function () {
  var absMids = {
    "esri/layers/BaseTileLayer": "./node_modules/arcgis-js-api/layers/BaseTileLayer.js",
    "esri/layers/BingMapsLayer": "./node_modules/arcgis-js-api/layers/BingMapsLayer.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([[16], {
  /***/
  "./node_modules/arcgis-js-api/layers/BaseTileLayer.js":
  /*!************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/BaseTileLayer.js ***!
    \************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersBaseTileLayerJs(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/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__(
    /*! ../geometry/support/aaBoundingRect */
    "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js"), __webpack_require__(
    /*! ./Layer */
    "./node_modules/arcgis-js-api/layers/Layer.js"), __webpack_require__(
    /*! ./mixins/RefreshableLayer */
    "./node_modules/arcgis-js-api/layers/mixins/RefreshableLayer.js"), __webpack_require__(
    /*! ./mixins/ScaleRangeLayer */
    "./node_modules/arcgis-js-api/layers/mixins/ScaleRangeLayer.js"), __webpack_require__(
    /*! ./support/TileInfo */
    "./node_modules/arcgis-js-api/layers/support/TileInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, p, l, n, a, i, s, c, u, y, d, f, g, m) {
      var v = {
        id: "0/0/0",
        level: 0,
        row: 0,
        col: 0,
        extent: null
      };
      return function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t.tileInfo = m.create({
            spatialReference: u.WebMercator,
            size: 256
          }), t.type = "base-tile", t.fullExtent = new c(-20037508.342787, -20037508.34278, 20037508.34278, 20037508.342787, u.WebMercator), t.spatialReference = u.WebMercator, t;
        }

        return o(t, e), t.prototype.getTileBounds = function (e, t, r, o) {
          var p = o || y.create();
          return v.level = e, v.row = t, v.col = r, v.extent = p, this.tileInfo.updateTileInfo(v), v.extent = null, p;
        }, t.prototype.fetchTile = function (e, t, r, o) {
          void 0 === o && (o = {});
          var p = o.signal,
              l = o.timestamp,
              n = this.getTileUrl(e, t, r),
              i = {
            responseType: "image",
            signal: p
          };
          return null != l && (i.query = {
            _ts: o.timestamp
          }), a(n, i).then(function (e) {
            return e.data;
          });
        }, t.prototype.getTileUrl = function () {
          throw new i("basetilelayer:gettileurl-not-implemented", "getTileUrl() is not implemented");
        }, p([s.property({
          type: m
        })], t.prototype, "tileInfo", void 0), p([s.property({
          type: ["show", "hide"]
        })], t.prototype, "listMode", void 0), p([s.property({
          readOnly: !0,
          value: "base-tile"
        })], t.prototype, "type", void 0), p([s.property()], t.prototype, "fullExtent", void 0), p([s.property()], t.prototype, "spatialReference", void 0), t = p([s.subclass("esri.layers.BaseTileLayer")], t);
      }(s.declared(g.ScaleRangeLayer(f.RefreshableLayer(d))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersBingMapsLayerJs(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.
    //  copyright

    /**
                 * Copyright information.
                 *
                 * @type {string}
                 * @instance
                 * @memberof module:esri/layers/BingMapsLayer
                 * @name copyright
                 * @readOnly
                 */
    // This method will access Bing's metadata url to obtain information such as copyright text, template url and


    !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i), exports, __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/jsonMap */
    "./node_modules/arcgis-js-api/core/jsonMap.js"), __webpack_require__(
    /*! ../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.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/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../geometry/SpatialReference */
    "./node_modules/arcgis-js-api/geometry/SpatialReference.js"), __webpack_require__(
    /*! ./BaseTileLayer */
    "./node_modules/arcgis-js-api/layers/BaseTileLayer.js"), __webpack_require__(
    /*! ./mixins/OperationalLayer */
    "./node_modules/arcgis-js-api/layers/mixins/OperationalLayer.js"), __webpack_require__(
    /*! ./support/TileInfo */
    "./node_modules/arcgis-js-api/layers/support/TileInfo.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, a, n, i, s, l, p, u, d, y, c, g, b, h) {
      var v = new l["default"]({
        BingMapsAerial: "aerial",
        BingMapsRoad: "road",
        BingMapsHybrid: "hybrid"
      });
      return function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.type = "bing-maps", r.tileInfo = new h({
            size: [256, 256],
            dpi: 96,
            origin: {
              x: -20037508.342787,
              y: 20037508.342787,
              spatialReference: c.WebMercator
            },
            spatialReference: c.WebMercator,
            lods: [{
              level: 1,
              resolution: 78271.5169639999,
              scale: 295828763.795777
            }, {
              level: 2,
              resolution: 39135.7584820001,
              scale: 147914381.897889
            }, {
              level: 3,
              resolution: 19567.8792409999,
              scale: 73957190.948944
            }, {
              level: 4,
              resolution: 9783.93962049996,
              scale: 36978595.474472
            }, {
              level: 5,
              resolution: 4891.96981024998,
              scale: 18489297.737236
            }, {
              level: 6,
              resolution: 2445.98490512499,
              scale: 9244648.868618
            }, {
              level: 7,
              resolution: 1222.99245256249,
              scale: 4622324.434309
            }, {
              level: 8,
              resolution: 611.49622628138,
              scale: 2311162.217155
            }, {
              level: 9,
              resolution: 305.748113140558,
              scale: 1155581.108577
            }, {
              level: 10,
              resolution: 152.874056570411,
              scale: 577790.554289
            }, {
              level: 11,
              resolution: 76.4370282850732,
              scale: 288895.277144
            }, {
              level: 12,
              resolution: 38.2185141425366,
              scale: 144447.638572
            }, {
              level: 13,
              resolution: 19.1092570712683,
              scale: 72223.819286
            }, {
              level: 14,
              resolution: 9.55462853563415,
              scale: 36111.909643
            }, {
              level: 15,
              resolution: 4.77731426794937,
              scale: 18055.954822
            }, {
              level: 16,
              resolution: 2.38865713397468,
              scale: 9027.977411
            }, {
              level: 17,
              resolution: 1.19432856685505,
              scale: 4513.988705
            }, {
              level: 18,
              resolution: .597164283559817,
              scale: 2256.994353
            }, {
              level: 19,
              resolution: .298582141647617,
              scale: 1128.497176
            }, {
              level: 20,
              resolution: .1492910708238085,
              scale: 564.248588
            }]
          }), r.key = null, r.style = "road", r.culture = "en-US", r.region = null, r.portalUrl = null, r.hasAttributionData = !0, r;
        }

        return r(t, e), Object.defineProperty(t.prototype, "bingMetadata", {
          get: function get() {
            return this._get("bingMetadata");
          },
          set: function set(e) {
            this._set("bingMetadata", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "copyright", {
          get: function get() {
            return p.isSome(this.bingMetadata) ? this.bingMetadata.copyright : null;
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "bingLogo", {
          get: function get() {
            return p.isSome(this.bingMetadata) ? this.bingMetadata.brandLogoUri : null;
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.load = function (e) {
          var t = this;
          return this.key ? this.addResolvingPromise(this._getMetadata()) : this.portalUrl ? this.addResolvingPromise(this._getPortalBingKey().then(function () {
            return t._getMetadata();
          })) : this.addResolvingPromise(d.reject(new s("bingmapslayer:load", "Bing layer must have bing key."))), this.when();
        }, t.prototype.getTileUrl = function (e, t, r) {
          if (!this.loaded || p.isNone(this.bingMetadata)) return null;

          var o = this.bingMetadata.resourceSets[0].resources[0],
              a = o.imageUrlSubdomains[t % o.imageUrlSubdomains.length],
              n = this._getQuadKey(e, t, r);

          return o.imageUrl.replace("{subdomain}", a).replace("{quadkey}", n);
        }, t.prototype.fetchAttributionData = function () {
          return n(this, void 0, void 0, function () {
            var e,
                t = this;
            return a(this, function (r) {
              return e = this.load().then(function () {
                return p.isNone(t.bingMetadata) ? null : {
                  contributors: t.bingMetadata.resourceSets[0].resources[0].imageryProviders.map(function (e) {
                    return {
                      attribution: e.attribution,
                      coverageAreas: e.coverageAreas.map(function (e) {
                        return {
                          zoomMin: e.zoomMin,
                          zoomMax: e.zoomMax,
                          score: 1,
                          bbox: [e.bbox[0], e.bbox[1], e.bbox[2], e.bbox[3]]
                        };
                      })
                    };
                  })
                };
              }), [2, e];
            });
          });
        }, t.prototype._getMetadata = function () {
          var e = this,
              t = {
            road: "roadOnDemand",
            aerial: "aerial",
            hybrid: "aerialWithLabelsOnDemand"
          },
              r = t[this.style];
          return i("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/" + r, {
            responseType: "json",
            query: {
              include: "ImageryProviders",
              uriScheme: "https",
              key: this.key,
              suppressStatus: !0,
              output: "json",
              culture: this.culture,
              userRegion: this.region
            }
          }).then(function (t) {
            var r = t.data;
            if (200 !== r.statusCode) throw new s("bingmapslayer:getmetadata", r.statusDescription);
            if (e.bingMetadata = r, 0 === e.bingMetadata.resourceSets.length) throw new s("bingmapslayer:getmetadata", "no bing resourcesets");
            if (0 === e.bingMetadata.resourceSets[0].resources.length) throw new s("bingmapslayer:getmetadata", "no bing resources");
          })["catch"](function (e) {
            throw new s("bingmapslayer:getmetadata", e.message);
          });
        }, t.prototype._getPortalBingKey = function () {
          var e = this;
          return i(this.portalUrl, {
            responseType: "json",
            authMode: "no-prompt",
            query: {
              f: "json"
            }
          }).then(function (t) {
            if (!t.data.bingKey) throw new s("bingmapslayer:getportalbingkey", "The referenced Portal does not contain a valid bing key");
            e.key = t.data.bingKey;
          })["catch"](function (e) {
            throw new s("bingmapslayer:getportalbingkey", e.message);
          });
        }, t.prototype._getQuadKey = function (e, t, r) {
          for (var o = "", a = e; a > 0; a--) {
            var n = 0,
                i = 1 << a - 1;
            0 != (r & i) && (n += 1), 0 != (t & i) && (n += 2), o += n.toString();
          }

          return o;
        }, o([y.property({
          json: {
            read: !1,
            write: !1
          },
          value: null
        })], t.prototype, "bingMetadata", null), o([y.property({
          json: {
            read: !1,
            write: !1
          },
          value: "bing-maps",
          readOnly: !0
        })], t.prototype, "type", void 0), o([y.property({
          type: h
        })], t.prototype, "tileInfo", void 0), o([y.property({
          type: String,
          readOnly: !0,
          dependsOn: ["bingMetadata"],
          json: {
            read: !1,
            write: !1
          }
        })], t.prototype, "copyright", null), o([y.property({
          type: String,
          json: {
            write: !1,
            read: !1
          }
        })], t.prototype, "key", void 0), o([y.property({
          type: String,
          json: {
            write: {
              target: "layerType",
              writer: v.write
            },
            read: {
              source: "layerType",
              reader: v.read
            }
          }
        })], t.prototype, "style", void 0), o([y.property({
          type: ["BingMapsAerial", "BingMapsHybrid", "BingMapsRoad"],
          readOnly: !0,
          json: {
            read: {
              source: "layerType"
            }
          }
        })], t.prototype, "operationalLayerType", void 0), o([y.property({
          type: String,
          json: {
            write: !1,
            read: !1
          }
        })], t.prototype, "culture", void 0), o([y.property({
          type: String,
          json: {
            write: !1,
            read: !1
          }
        })], t.prototype, "region", void 0), o([y.property({
          type: String,
          json: {
            write: !0,
            read: !0
          }
        })], t.prototype, "portalUrl", void 0), o([y.property({
          type: Boolean,
          json: {
            write: !1,
            read: !1
          }
        })], t.prototype, "hasAttributionData", void 0), o([y.property({
          type: String,
          readOnly: !0,
          dependsOn: ["bingMetadata"]
        })], t.prototype, "bingLogo", null), t = o([y.subclass("esri.layers.BingMapsLayer")], t);
      }(y.declared(b.OperationalLayer(u.MultiOriginJSONMixin(g))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  }
}]);
//# sourceMappingURL=16-es5.js.map