????

Your IP : 3.15.145.122


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

(function () {
  var absMids = {
    "esri/renderers/support/clickToleranceUtils": "./node_modules/arcgis-js-api/renderers/support/clickToleranceUtils.js",
    "esri/views/2d/layers/MapImageLayerView2D": "./node_modules/arcgis-js-api/views/2d/layers/MapImageLayerView2D.js",
    "esri/views/2d/layers/support/popupUtils2D": "./node_modules/arcgis-js-api/views/2d/layers/support/popupUtils2D.js",
    "esri/views/layers/MapImageLayerView": "./node_modules/arcgis-js-api/views/layers/MapImageLayerView.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([[70], {
  /***/
  "./node_modules/arcgis-js-api/renderers/support/clickToleranceUtils.js":
  /*!*****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/renderers/support/clickToleranceUtils.js ***!
    \*****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiRenderersSupportClickToleranceUtilsJs(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_AMD_DEFINE_RESULT__ = function (e, r) {
      function t(e, r) {
        return r && r.xoffset ? Math.max(e, Math.abs(r.xoffset)) : r && r.yoffset ? Math.max(e, Math.abs(r.yoffset)) : e;
      }

      function n(e) {
        for (var r = 0, t = 0, n = 0; n < e.length; n++) {
          var a = e[n].size;
          "number" == typeof a && (r += a, t++);
        }

        return r / t;
      }

      function a(e, r) {
        return "number" == typeof e ? e : e && e.stops && e.stops.length ? n(e.stops) : r;
      }

      function u(e, r) {
        if (!r) return e;
        var t = r.filter(function (e) {
          return "size" === e.type;
        }),
            n = t.map(function (r) {
          var t = r.maxSize,
              n = r.minSize;
          return (a(t, e) + a(n, e)) / 2;
        }),
            u = 0,
            f = n.length;
        if (0 === f) return e;

        for (var o = 0; o < f; o++) u += n[o];

        var i = Math.floor(u / f);
        return Math.max(i, e);
      }

      function f(e) {
        if (!e) return 6;
        var r = "visualVariables" in e ? u(6, e.visualVariables) : 6;
        if ("simple" === e.type) return t(r, e.symbol);

        if ("unique-value" === e.type) {
          var n = r;
          return e.uniqueValueInfos.forEach(function (e) {
            n = t(n, e.symbol);
          }), n;
        }

        if ("class-breaks" === e.type) {
          var a = r;
          return e.classBreakInfos.forEach(function (e) {
            a = t(a, e.symbol);
          }), a;
        }

        return e.type, r;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.calculateTolerance = f;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/layers/MapImageLayerView2D.js":
  /*!***************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/layers/MapImageLayerView2D.js ***!
    \***************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dLayersMapImageLayerView2DJs(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__(
    /*! ../../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../core/watchUtils */
    "./node_modules/arcgis-js-api/core/watchUtils.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../../layers/support/ExportImageParameters */
    "./node_modules/arcgis-js-api/layers/support/ExportImageParameters.js"), __webpack_require__(
    /*! ./BitmapLayerView2D */
    "./node_modules/arcgis-js-api/views/2d/layers/BitmapLayerView2D.js"), __webpack_require__(
    /*! ./LayerView2D */
    "./node_modules/arcgis-js-api/views/2d/layers/LayerView2D.js"), __webpack_require__(
    /*! ./support/ExportStrategy */
    "./node_modules/arcgis-js-api/views/2d/layers/support/ExportStrategy.js"), __webpack_require__(
    /*! ./support/popupUtils2D */
    "./node_modules/arcgis-js-api/views/2d/layers/support/popupUtils2D.js"), __webpack_require__(
    /*! ../../layers/LayerView */
    "./node_modules/arcgis-js-api/views/layers/LayerView.js"), __webpack_require__(
    /*! ../../layers/MapImageLayerView */
    "./node_modules/arcgis-js-api/views/layers/MapImageLayerView.js"), __webpack_require__(
    /*! ../../layers/RefreshableLayerView */
    "./node_modules/arcgis-js-api/views/layers/RefreshableLayerView.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, a, i, o, s, p, n, u, h, m, y, c, g, d, l, f, w) {
      var x = p.getLogger("esri.views.2d.layers.MapImageLayerView2D");
      return function (e) {
        function t() {
          var t = null !== e && e.apply(this, arguments) || this;
          return t._exportImageParameters = null, t._exportImageVersion = -1, t;
        }

        return a(t, e), t.prototype.hitTest = function () {
          return null;
        }, t.prototype.update = function (e) {
          this.strategy.update(e)["catch"](function (e) {
            n.isAbortError(e) || x.error(e);
          });
        }, t.prototype.attach = function () {
          var e = this,
              t = this.layer,
              r = t.imageMaxWidth,
              a = t.imageMaxHeight,
              i = t.version,
              o = i >= 10.3,
              s = i >= 10;
          this.strategy = new g({
            container: this.container,
            fetchSource: this.fetchImage.bind(this),
            requestUpdate: this.requestUpdate.bind(this),
            imageMaxWidth: r,
            imageMaxHeight: a,
            imageRotationSupported: o,
            imageNormalizationSupported: s,
            hidpi: !0
          }), this._exportImageParameters = new m.ExportImageParameters({
            view: this.view,
            layer: this.layer
          }), this.handles.add(u.init(this._exportImageParameters, "version", function (t) {
            e._exportImageVersion !== t && (e._exportImageVersion = t, e.requestUpdate());
          }), "mapimagelayerview-update");
        }, t.prototype.detach = function () {
          this.strategy.destroy(), this.handles.remove("mapimagelayerview-update"), this._exportImageParameters.layer = null, this._exportImageParameters.destroy(), this._exportImageParameters = null, this._exportImageVersion = -1, this.container.removeAllChildren();
        }, t.prototype.moveStart = function () {}, t.prototype.viewChange = function () {}, t.prototype.moveEnd = function () {
          this.requestUpdate();
        }, t.prototype.createFetchPopupFeaturesQueryGeometry = function (e, t) {
          return d.createQueryGeometry(e, t, this.view);
        }, t.prototype.doRefresh = function () {
          return s(this, void 0, void 0, function () {
            return o(this, function (e) {
              return this.requestUpdate(), [2];
            });
          });
        }, t.prototype.isUpdating = function () {
          return this.attached && (this.strategy.updating || this.updateRequested);
        }, t.prototype.fetchImage = function (e, t, a, i) {
          return this.layer.fetchImage(e, t, a, r({
            timeExtent: this._exportImageParameters.timeExtent,
            timestamp: this.refreshTimestamp
          }, i));
        }, i([h.property()], t.prototype, "strategy", void 0), i([h.property({
          dependsOn: ["strategy.updating"]
        })], t.prototype, "updating", void 0), t = i([h.subclass("esri.views.2d.layers.MapImageLayerView2D")], t);
      }(h.declared(f.MapImageLayerView(w.RefreshableLayerView(y.BitmapLayerView2D(c.LayerView2D(l))))));
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/layers/support/popupUtils2D.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/layers/support/popupUtils2D.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dLayersSupportPopupUtils2DJs(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__(
    /*! ../../../../geometry/Extent */
    "./node_modules/arcgis-js-api/geometry/Extent.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, o) {
      function a(e, t, r) {
        var n = r.get("state.resolution"),
            a = "number" == typeof n ? n : 1,
            x = t * a,
            i = e.clone().offset(-x, -x),
            c = e.clone().offset(x, x),
            f = r.spatialReference;
        return new o({
          xmin: Math.min(i.x, c.x),
          ymin: Math.min(i.y, c.y),
          xmax: Math.max(i.x, c.x),
          ymax: Math.max(i.y, c.y),
          spatialReference: f
        });
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.createQueryGeometry = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

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

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsLayersMapImageLayerViewJs(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/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__(
    /*! ../../core/Error */
    "./node_modules/arcgis-js-api/core/Error.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__(
    /*! ../../renderers/support/clickToleranceUtils */
    "./node_modules/arcgis-js-api/renderers/support/clickToleranceUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, o, u, c, n, s, i) {
      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.MapImageLayerView = function (e) {
        return function (e) {
          function r() {
            return null !== e && e.apply(this, arguments) || this;
          }

          return t(r, e), r.prototype.fetchPopupFeatures = function (e) {
            return u(this, void 0, void 0, function () {
              var r,
                  t,
                  a,
                  _s,
                  p,
                  l,
                  f = this;

              return o(this, function (d) {
                switch (d.label) {
                  case 0:
                    return r = this.layer, e ? (t = this.get("view.scale"), a = [], _s = function s(e) {
                      var r = 0 === e.minScale || t <= e.minScale,
                          o = 0 === e.maxScale || t >= e.maxScale;
                      e.visible && r && o && (e.sublayers ? e.sublayers.forEach(_s) : e.popupTemplate && e.popupEnabled && a.push(e));
                    }, r.sublayers.forEach(_s), p = a.map(function (r) {
                      return u(f, void 0, void 0, function () {
                        var t, a, u, c;
                        return o(this, function (o) {
                          switch (o.label) {
                            case 0:
                              return [4, r.popupTemplate.getRequiredFields()];

                            case 1:
                              return t = o.sent(), a = r.createQuery(), u = i.calculateTolerance(r.renderer), a.geometry = this.createFetchPopupFeaturesQueryGeometry(e, u), a.outFields = t, [4, r.queryFeatures(a)];

                            case 2:
                              return c = o.sent(), [2, c.features];
                          }
                        });
                      });
                    }), [4, n.eachAlways(p)]) : [2, n.reject(new c("mapimagelayerview:fetchPopupFeatures", "Nothing to fetch without area", {
                      layer: r
                    }))];

                  case 1:
                    return l = d.sent(), [2, l.reduce(function (e, r) {
                      return e.concat(r.value);
                    }, []).filter(function (e) {
                      return null != e;
                    })];
                }
              });
            });
          }, a([s.property()], r.prototype, "layer", void 0), r = a([s.subclass("esri.views.layers.MapImageLayerView")], r);
        }(s.declared(e));
      };
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  }
}]);
//# sourceMappingURL=70-es5.js.map