????

Your IP : 3.144.147.211


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

(function () {
  var absMids = {
    "esri/renderers/support/clickToleranceUtils": "./node_modules/arcgis-js-api/renderers/support/clickToleranceUtils.js",
    "esri/support/elevationInfoUtils": "./node_modules/arcgis-js-api/support/elevationInfoUtils.js",
    "esri/views/2d/draw/Draw": "./node_modules/arcgis-js-api/views/2d/draw/Draw.js",
    "esri/views/2d/interactive/dragUtils/dragHandlers": "./node_modules/arcgis-js-api/views/2d/interactive/dragUtils/dragHandlers.js",
    "esri/views/2d/interactive/dragUtils/projectScreenToMap": "./node_modules/arcgis-js-api/views/2d/interactive/dragUtils/projectScreenToMap.js",
    "esri/views/draw/support/drawUtils": "./node_modules/arcgis-js-api/views/draw/support/drawUtils.js",
    "esri/views/interactive/GraphicManipulator": "./node_modules/arcgis-js-api/views/interactive/GraphicManipulator.js",
    "esri/views/interactive/dragUtils/dragActions": "./node_modules/arcgis-js-api/views/interactive/dragUtils/dragActions.js",
    "esri/views/interactive/dragUtils/dragHandlers": "./node_modules/arcgis-js-api/views/interactive/dragUtils/dragHandlers.js",
    "esri/views/interactive/dragUtils/screenDragToMap": "./node_modules/arcgis-js-api/views/interactive/dragUtils/screenDragToMap.js",
    "esri/views/support/drapedUtils": "./node_modules/arcgis-js-api/views/support/drapedUtils.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([[33], {
  /***/
  "./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/support/elevationInfoUtils.js":
  /*!******************************************************************!*\
    !*** ./node_modules/arcgis-js-api/support/elevationInfoUtils.js ***!
    \******************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiSupportElevationInfoUtilsJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, o, n) {
      function r(e, o) {
        var r = !!n.isSome(e) && e.hasZ;
        return n.isNone(o) ? r ? "absolute-height" : "on-the-ground" : "relative-to-ground" !== o.mode || !n.isNone(o.offset) && 0 !== o.offset || !n.isSome(e) || "point" !== e.type || r && 0 !== e.z ? o.mode : "on-the-ground";
      }

      function t(e) {
        var o = u(e);
        return r(e.geometry, o);
      }

      function i(e) {
        var o = u(e),
            t = r(e.geometry, o);
        return {
          mode: t,
          offset: n.isSome(o) && "on-the-ground" !== t ? o.offset : 0,
          featureExpressionInfo: n.isSome(o) && "on-the-ground" !== t ? o.featureExpressionInfo : null
        };
      }

      function f(e) {
        if ("on-the-ground" === t(e)) return !1;
        var o = u(e),
            r = n.isSome(o) && o.featureExpressionInfo ? o.featureExpressionInfo.expression : null;
        return !(!r || "0" === r);
      }

      function u(e) {
        return e.layer && "elevationInfo" in e.layer ? e.layer.elevationInfo : null;
      }

      Object.defineProperty(o, "__esModule", {
        value: !0
      }), o.getGeometryEffectiveElevationMode = r, o.getGraphicEffectiveElevationMode = t, o.getGraphicEffectiveElevationInfo = i, o.hasGraphicFeatureExpressionInfo = 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/draw/Draw.js":
  /*!**********************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/draw/Draw.js ***!
    \**********************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dDrawDrawJs(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__(
    /*! ../../draw/Draw */
    "./node_modules/arcgis-js-api/views/draw/Draw.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (r, e, n) {
      return n;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/interactive/dragUtils/dragHandlers.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/interactive/dragUtils/dragHandlers.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInteractiveDragUtilsDragHandlersJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ./projectScreenToMap */
    "./node_modules/arcgis-js-api/views/2d/interactive/dragUtils/projectScreenToMap.js"), __webpack_require__(
    /*! ../../../interactive/dragUtils/dragActions */
    "./node_modules/arcgis-js-api/views/interactive/dragUtils/dragActions.js"), __webpack_require__(
    /*! ../../../interactive/dragUtils/dragHandlers */
    "./node_modules/arcgis-js-api/views/interactive/dragUtils/dragHandlers.js"), __webpack_require__(
    /*! ../../../interactive/dragUtils/screenDragToMap */
    "./node_modules/arcgis-js-api/views/interactive/dragUtils/screenDragToMap.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, a, t, n, c, i) {
      function o(e, r, a, t) {
        void 0 === t && (t = e.spatialReference);
        var n = u(e, t);
        return c.createManipulatorDragHandler(r, function () {
          return n;
        }, a);
      }

      function p(e, r, t) {
        var c = n.createGraphicDragAction(r.graphic),
            i = a.expect(r.graphic.geometry).spatialReference;
        return o(e, r, function (e) {
          c(e), t && t();
        }, i);
      }

      function u(e, r) {
        return i.createXYConstrainedFromProject(t.createForView(e), r);
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.createManipulatorDragHandler2D = o, r.createGraphicManipulatorDragHandler2D = p, r.createScreenDragToMap2D = u;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/2d/interactive/dragUtils/projectScreenToMap.js":
  /*!*****************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/2d/interactive/dragUtils/projectScreenToMap.js ***!
    \*****************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViews2dInteractiveDragUtilsProjectScreenToMapJs(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__(
    /*! ../../../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t) {
      function n(e) {
        return function (r, n) {
          var o = e.toMap(r);
          return o ? o.spatialReference.equals(n) ? o : t.canProject(o, n) ? t.project(o, n) : null : null;
        };
      }

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

  /***/
  "./node_modules/arcgis-js-api/views/draw/support/drawUtils.js":
  /*!********************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/draw/support/drawUtils.js ***!
    \********************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsDrawSupportDrawUtilsJs(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__(
    /*! ../../../geometry/support/aaBoundingRect */
    "./node_modules/arcgis-js-api/geometry/support/aaBoundingRect.js"), __webpack_require__(
    /*! ../../../geometry/support/boundsUtils */
    "./node_modules/arcgis-js-api/geometry/support/boundsUtils.js"), __webpack_require__(
    /*! ../../../geometry/support/coordsUtils */
    "./node_modules/arcgis-js-api/geometry/support/coordsUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t, n, e, r, a) {
      function i(t, n, e, r) {
        if (null == r || t.hasZ || (r = void 0), "point" === t.type) return t.x += n, t.y += e, t.hasZ && null != r && (t.z += r), t;

        if ("multipoint" === t.type) {
          for (var i = t.points, o = 0; o < i.length; o++) i[o] = x(i[o], n, e, r);

          return t;
        }

        if ("extent" === t.type) return t.xmin += n, t.xmax += n, t.ymin += e, t.ymax += e, null != r && (t.zmin += r, t.zmax += r), t;

        for (var s = a.geometryToCoordinates(t), m = "polyline" === t.type ? t.paths : t.rings, l = 0; l < s.length; l++) for (var y = s[l], o = 0; o < y.length; o++) y[o] = x(y[o], n, e, r);

        return "paths" in t ? t.paths = m : t.rings = m, t;
      }

      function o(t, n, e, r, o) {
        var s = t.clone(),
            m = r.resolution;

        if ("point" === s.type) {
          if (o) i(s, n * m, -e * m);else {
            var l = r.state.transform,
                x = r.state.inverseTransform,
                u = l[0] * s.x + l[2] * s.y + l[4],
                p = l[1] * s.x + l[3] * s.y + l[5];
            s.x = x[0] * (u + n) + x[2] * (p + e) + x[4], s.y = x[1] * (u + n) + x[3] * (p + e) + x[5];
          }
          return s;
        }

        if ("multipoint" === s.type) {
          if (o) i(s, n * m, -e * m);else for (var f = s.points, l = r.state.transform, x = r.state.inverseTransform, v = 0; v < f.length; v++) {
            var g = f[v],
                h = l[0] * g[0] + l[2] * g[1] + l[4],
                c = l[1] * g[0] + l[3] * g[1] + l[5],
                u = x[0] * (h + n) + x[2] * (c + e) + x[4],
                p = x[1] * (h + n) + x[3] * (c + e) + x[5];
            f[v] = y(g, u, p, void 0);
          }
          return s;
        }

        if ("extent" === s.type) {
          if (o) i(s, n * m, -e * m);else {
            var l = r.state.transform,
                x = r.state.inverseTransform,
                d = l[0] * s.xmin + l[2] * s.ymin + l[4],
                M = l[1] * s.xmin + l[3] * s.ymin + l[5],
                T = l[0] * s.xmax + l[2] * s.ymax + l[4],
                P = l[1] * s.xmax + l[3] * s.ymax + l[5];
            s.xmin = x[0] * (d + n) + x[2] * (M + e) + x[4], s.ymin = x[1] * (d + n) + x[3] * (M + e) + x[5], s.xmax = x[0] * (T + n) + x[2] * (P + e) + x[4], s.ymax = x[1] * (T + n) + x[3] * (P + e) + x[5];
          }
          return s;
        }

        if (o) i(s, n * m, -e * m);else {
          for (var R = a.geometryToCoordinates(s), f = "polyline" === s.type ? s.paths : s.rings, l = r.state.transform, x = r.state.inverseTransform, C = 0; C < R.length; C++) for (var q = R[C], v = 0; v < q.length; v++) {
            var g = q[v],
                h = l[0] * g[0] + l[2] * g[1] + l[4],
                c = l[1] * g[0] + l[3] * g[1] + l[5],
                u = x[0] * (h + n) + x[2] * (c + e) + x[4],
                p = x[1] * (h + n) + x[3] * (c + e) + x[5];
            q[v] = y(g, u, p, void 0);
          }

          "paths" in s ? s.paths = f : s.rings = f;
        }
        return s;
      }

      function s(t, n, i, o) {
        if ("point" === t.type) {
          var s = t.x,
              m = t.y,
              l = o ? o[0] : s,
              x = o ? o[1] : m,
              u = t.clone(),
              p = (s - l) * n + l,
              f = (m - x) * i + x;
          return u.x = p, u.y = f, u;
        }

        if ("multipoint" === t.type) {
          for (var v = a.geometryToCoordinates(t), g = e.create(), h = r.getRingsOrPathsBounds(g, [v]), c = h[0], d = h[1], M = h[2], T = h[3], P = o ? o[0] : (c + M) / 2, R = o ? o[1] : (T + d) / 2, C = t.clone(), q = C.points, z = 0; z < q.length; z++) {
            var B = q[z],
                s = B[0],
                m = B[1],
                p = (s - P) * n + P,
                f = (m - R) * i + R;
            q[z] = y(B, p, f, void 0);
          }

          return C;
        }

        if ("extent" === t.type) {
          var O = t.xmin,
              b = t.xmax,
              I = t.ymin,
              U = t.ymax,
              Z = o ? o[0] : (O + b) / 2,
              _ = o ? o[1] : (U + I) / 2,
              j = t.clone();

          if (j.xmin = (O - Z) * n + Z, j.ymax = (U - _) * i + _, j.xmax = (b - Z) * n + Z, j.ymin = (I - _) * i + _, j.xmin > j.xmax) {
            var A = j.xmin,
                S = j.xmax;
            j.xmin = S, j.xmax = A;
          }

          if (j.ymin > j.ymax) {
            var k = j.ymin,
                w = j.ymax;
            j.ymin = w, j.ymax = k;
          }

          return j;
        }

        for (var D = a.geometryToCoordinates(t), E = e.create(), F = r.getRingsOrPathsBounds(E, D), G = F[0], H = F[1], J = F[2], K = F[3], L = o ? o[0] : (G + J) / 2, N = o ? o[1] : (K + H) / 2, Q = t.clone(), V = "polyline" === Q.type ? Q.paths : Q.rings, W = 0; W < D.length; W++) for (var X = D[W], z = 0; z < X.length; z++) {
          var B = X[z],
              s = B[0],
              m = B[1],
              p = (s - L) * n + L,
              f = (m - N) * i + N;
          V[W][z] = y(B, p, f, void 0);
        }

        return "paths" in Q ? Q.paths = V : Q.rings = V, Q;
      }

      function m(t, n, e, r, a, i) {
        var o = Math.sqrt((e - t) * (e - t) + (r - n) * (r - n));
        return Math.sqrt((a - t) * (a - t) + (i - n) * (i - n)) / o;
      }

      function l(t, n, e, r, a, i) {
        var o = 180 * Math.atan2(n - r, t - e) / Math.PI;
        return 180 * Math.atan2(n - i, t - a) / Math.PI - o;
      }

      function x(t, n, e, r) {
        return y(t, t[0] + n, t[1] + e, null != t[2] && null != r ? t[2] + r : void 0);
      }

      function y(t, n, e, r) {
        var a = [n, e];
        return t.length > 2 && a.push(null != r ? r : t[2]), t.length > 3 && a.push(t[3]), a;
      }

      Object.defineProperty(n, "__esModule", {
        value: !0
      }), n.move = i, n.cloneMove = o, n.scale = s, n.getScaleRatio = m, n.getRotationAngle = l;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/interactive/GraphicManipulator.js":
  /*!****************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/interactive/GraphicManipulator.js ***!
    \****************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInteractiveGraphicManipulatorJs(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/decorateHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/declareExtendsHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"), __webpack_require__(
    /*! ../../core/tsSupport/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../core/Accessor */
    "./node_modules/arcgis-js-api/core/Accessor.js"), __webpack_require__(
    /*! ../../core/Evented */
    "./node_modules/arcgis-js-api/core/Evented.js"), __webpack_require__(
    /*! ../../core/Logger */
    "./node_modules/arcgis-js-api/core/Logger.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/screenUtils */
    "./node_modules/arcgis-js-api/core/screenUtils.js"), __webpack_require__(
    /*! ../../core/accessorSupport/decorators */
    "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/vec2 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec2.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/vec3 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec3.js"), __webpack_require__(
    /*! ../../core/libs/gl-matrix-2/vec3f64 */
    "./node_modules/arcgis-js-api/core/libs/gl-matrix-2/vec3f64.js"), __webpack_require__(
    /*! ../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ../../support/elevationInfoUtils */
    "./node_modules/arcgis-js-api/support/elevationInfoUtils.js"), __webpack_require__(
    /*! ../../symbols/support/defaults */
    "./node_modules/arcgis-js-api/symbols/support/defaults.js"), __webpack_require__(
    /*! ../../symbols/support/ElevationInfo */
    "./node_modules/arcgis-js-api/symbols/support/ElevationInfo.js"), __webpack_require__(
    /*! ../../views/support/drapedUtils */
    "./node_modules/arcgis-js-api/views/support/drapedUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, o, i, n, s, l, a, c, p, u, y, h, f, g, b, d, v) {
      Object.defineProperty(t, "__esModule", {
        value: !0
      });

      var m = l.getLogger("esri.views.interactive.GraphicManipulator"),
          _ = function (e) {
        function t(t) {
          var r = e.call(this, t) || this;
          return r.layer = null, r.interactive = !0, r.selectable = !1, r.dragging = !1, r.cursor = null, r.events = new s({
            target: r
          }), r._circleCollisionCache = null, r._originalSymbol = null, r;
        }

        return o(t, e), Object.defineProperty(t.prototype, "graphic", {
          set: function set(e) {
            if ("mesh" === a.get(e.geometry, "type")) return void m.error("Mesh geometries are not supported");
            this._circleCollisionCache = null, this._originalSymbol = e.symbol, this._set("graphic", e);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "elevationInfo", {
          get: function get() {
            var e = "elevationInfo" in this.graphic.layer && this.graphic.layer.elevationInfo,
                t = g.getGraphicEffectiveElevationMode(this.graphic);
            return new d({
              mode: t,
              offset: e ? e.offset : 0
            });
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "focusedSymbol", {
          set: function set(e) {
            e !== this._get("focusedSymbol") && (this._set("focusedSymbol", e), this._updateGraphicSymbol(), this._circleCollisionCache = null);
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "grabbing", {
          set: function set(e) {
            if (e !== this._get("grabbing")) {
              var t = this._focused;
              this._set("grabbing", e), this._updateGraphicSymbol(t);
            }
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "hovering", {
          set: function set(e) {
            if (e !== this._get("hovering")) {
              var t = this._focused;
              this._set("hovering", e), this._updateGraphicSymbol(t);
            }
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "selected", {
          set: function set(e) {
            e !== this._get("selected") && (this._set("selected", e), this._updateGraphicSymbol());
          },
          enumerable: !0,
          configurable: !0
        }), Object.defineProperty(t.prototype, "_focused", {
          get: function get() {
            return this._get("hovering") || this._get("grabbing");
          },
          enumerable: !0,
          configurable: !0
        }), t.prototype.destroy = function () {
          this._resetGraphicSymbol(), this._set("view", null);
        }, t.prototype.intersectionDistance = function (e) {
          var t = this._get("graphic");

          if (!1 === t.visible) return null;

          var r = this._get("focusedSymbol"),
              o = a.isSome(r) ? r : t.symbol,
              i = t.geometry;

          if (a.isNone(i)) return null;

          var n = this._get("view");

          return "2d" === n.type ? this._intersectDistance2D(e, n, i, o) : this._intersectDistance3D(e, n, t);
        }, t.prototype.attach = function () {
          a.isNone(this.layer) || this.layer.add(this.graphic);
        }, t.prototype.detach = function () {
          this._resetGraphicSymbol(), a.isNone(this.layer) || this.layer.remove(this.graphic);
        }, t.prototype._updateGraphicSymbol = function (e) {
          if (void 0 === e && (e = this._focused), e !== this._focused) {
            var t = this.graphic.symbol;
            t !== this._originalSymbol && t !== this.focusedSymbol && (this._originalSymbol = t);
          }

          this.graphic.symbol = this._focused && a.isSome(this.focusedSymbol) ? this.focusedSymbol : this._originalSymbol;
        }, t.prototype._resetGraphicSymbol = function () {
          this.graphic.symbol = this._originalSymbol;
        }, t.prototype._intersectDistance2D = function (e, t, r, o) {
          if (o = o || b.getDefaultSymbol2D(r), a.isNone(o)) return null;
          var i = this._circleCollisionCache;

          if ("point" !== r.type || "simple-marker" !== o.type) {
            var n = v.intersectsDrapedGeometry(e, r, t);
            return a.isSome(n) ? 1 : null;
          }

          if (a.isNone(i) || !i.originalPoint.equals(r)) {
            var s = r,
                l = t.spatialReference;

            if (f.canProject(s, l)) {
              var n = f.project(s, l);
              i = {
                originalPoint: s.clone(),
                mapPoint: n,
                radiusPx: c.pt2px(o.size)
              }, this._circleCollisionCache = i;
            }
          }

          if (a.isSome(i)) {
            var p = c.screenPointObjectToArray(e, P),
                y = t.state.toScreen(O, i.mapPoint.x, i.mapPoint.y),
                h = i.radiusPx;
            return u.vec2.squaredDistance(p, y) < h * h ? 1 : null;
          }

          return null;
        }, t.prototype._intersectDistance3D = function (e, t, r) {
          var o = t.toMap(e, {
            include: [r]
          });
          if (!o) return null;
          var i = S;
          return t.renderCoordsHelper.toRenderCoords(o, i) ? y.vec3.distance(i, t.state.camera.eye) : null;
        }, r([p.property({
          constructOnly: !0,
          nonNullable: !0
        })], t.prototype, "graphic", null), r([p.property({
          readOnly: !0,
          dependsOn: ["graphic"]
        })], t.prototype, "elevationInfo", null), r([p.property({
          constructOnly: !0,
          nonNullable: !0
        })], t.prototype, "view", void 0), r([p.property({
          value: null
        })], t.prototype, "focusedSymbol", null), r([p.property({
          constructOnly: !0
        })], t.prototype, "layer", void 0), r([p.property()], t.prototype, "interactive", void 0), r([p.property()], t.prototype, "selectable", void 0), r([p.property({
          value: !1
        })], t.prototype, "grabbing", null), r([p.property()], t.prototype, "dragging", void 0), r([p.property()], t.prototype, "hovering", null), r([p.property({
          value: !1
        })], t.prototype, "selected", null), r([p.property()], t.prototype, "cursor", void 0), t = r([p.subclass("esri.views.interactive.GraphicManipulator")], t);
      }(p.declared(n));

      t.GraphicManipulator = _;
      var S = h.vec3f64.create(),
          P = c.createScreenPointArray(),
          O = c.createScreenPointArray();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/interactive/dragUtils/dragActions.js":
  /*!*******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/interactive/dragUtils/dragActions.js ***!
    \*******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInteractiveDragUtilsDragActionsJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js"), __webpack_require__(
    /*! ../../draw/support/drawUtils */
    "./node_modules/arcgis-js-api/views/draw/support/drawUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, a) {
      function o(e, r) {
        function o(e, r) {
          return t.isNone(e) || "mesh" === e.type ? null : e.spatialReference.equals(r) ? e.clone() : n.canProject(e, r) ? n.project(e, r) : null;
        }

        var c = null,
            i = t.isSome(e[r]) ? e[r].spatialReference : null;
        return function (u) {
          if ("start" === u.action && t.isSome(e[r]) && (c = o(e[r], u.spatialReference)), !t.isNone(c)) {
            var l = a.move(c.clone(), u.deltaX, u.deltaY, u.deltaZ);
            l.spatialReference.equals(i) ? e[r] = l : e[r] = n.project(l, i);
          }
        };
      }

      function c(e) {
        return o(e, "geometry");
      }

      function i(e) {
        var r = e.map(c);
        return function (e) {
          return r.forEach(function (r) {
            return r(e);
          });
        };
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.createGeometryDragAction = o, r.createGraphicDragAction = c, r.createGraphicDragActionMany = i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/interactive/dragUtils/dragHandlers.js":
  /*!********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/interactive/dragUtils/dragHandlers.js ***!
    \********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInteractiveDragUtilsDragHandlersJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../../core/accessorSupport/utils */
    "./node_modules/arcgis-js-api/core/accessorSupport/utils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (n, e, r, a) {
      function t(n, e, a) {
        var t = null;
        return n.events.on("drag", function (u) {
          if ("start" === u.action && (t = e(n, u)), !r.isNone(t)) {
            var o = t(u);
            r.isSome(o) && a(o), "end" === u.action && (t = null);
          }
        });
      }

      function u(n, e, a) {
        var t = null;
        return o(n, function (n, a) {
          return r.isSome(t) ? null : t = e(n, a);
        }, function (n) {
          return "end" === n.action && (t = null), a(n);
        });
      }

      function o(n, e, r) {
        for (var u = [], o = 0, i = n; o < i.length; o++) {
          var l = i[o];
          u.push(t(l, e, r));
        }

        return a.handlesGroup(u);
      }

      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.createManipulatorDragHandler = t, e.createManipulatorDragHandlerOneOf = u, e.createManipulatorDragHandlerMany = o;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/interactive/dragUtils/screenDragToMap.js":
  /*!***********************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/interactive/dragUtils/screenDragToMap.js ***!
    \***********************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsInteractiveDragUtilsScreenDragToMapJs(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/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n) {
      function a(e, t, r) {
        if (n.isNone(e)) return null;
        var a = null,
            o = 0,
            i = 0,
            l = 0;
        return function (s) {
          "start" === s.action && (a = e(s.start, r), o = 0, i = 0, l = 0);
          var c = o,
              u = i,
              f = l,
              d = e(s.screenPoint, r);
          n.isSome(a) && n.isSome(d) && (c = 1 & t ? d.x - a.x : 0, u = 2 & t ? d.y - a.y : 0, f = 4 & t ? d.z - a.z : 0);
          var v = s.action,
              D = {
            action: v,
            deltaX: c,
            deltaY: u,
            deltaZ: f,
            spatialReference: r
          };
          return o = c, i = u, l = f, D;
        };
      }

      function o(e, t, r) {
        if (n.isNone(e)) return null;
        var a = Math.sqrt(t[0] * t[0] + t[1] * t[1] + t[2] * t[2]);
        if (0 === a) return null;
        var o = t[0] / a,
            i = t[1] / a,
            l = t[2] / a,
            s = null,
            c = 0,
            u = 0,
            f = 0;
        return function (t) {
          "start" === t.action && (s = e(t.start, r), c = 0, u = 0, f = 0);
          var a = c,
              d = u,
              v = f,
              D = e(t.screenPoint, r);

          if (n.isSome(s) && n.isSome(D)) {
            a = D.x - s.x, d = D.y - s.y, v = D.z - s.z;
            var m = a * o + d * i + v * l;
            a = m * o, d = m * i, v = m * l;
          }

          var p = t.action,
              y = {
            action: p,
            deltaX: a,
            deltaY: d,
            deltaZ: v,
            previousDeltaX: c,
            previousDeltaY: u,
            previousDeltaZ: f,
            spatialReference: r
          };
          return c = a, u = d, f = v, y;
        };
      }

      function i(e, r) {
        return a(e, t.horizontalDegreesOfFreedom, r);
      }

      function l(e, r) {
        return a(e, t.verticalDegreesOfFreedom, r);
      }

      function s(e) {
        if (n.isNone(e)) return e;
        var t = 0,
            a = 0,
            o = 0;
        return function (i) {
          var l = e(i);
          if (n.isNone(l)) return null;
          "start" === i.action && (t = 0, a = 0, o = 0);
          var s = l.deltaX - t,
              c = l.deltaY - a,
              u = l.deltaZ - o,
              f = r({}, l, {
            deltaDeltaX: s,
            deltaDeltaY: c,
            deltaDeltaZ: u
          });
          return t = l.deltaX, a = l.deltaY, o = l.deltaZ, f;
        };
      }

      function c(e) {
        if (n.isNone(e)) return e;
        var t = 0,
            a = 0;
        return function (o) {
          var i = e(o);
          if (n.isNone(i)) return null;
          "start" === o.action && (t = o.start.x, a = o.start.y);
          var l = o.screenPoint.x - t,
              s = o.screenPoint.y - a,
              c = r({}, i, {
            screenDeltaDeltaX: l,
            screenDeltaDeltaY: s
          });
          return t = o.screenPoint.x, a = o.screenPoint.y, c;
        };
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.createFromProject = a, t.createMapAxisConstrainedScreenToMapDrag = o, t.createXYConstrainedFromProject = i, t.createZConstrainedFromProject = l, t.withHistoryInfo = s, t.withScreenHistoryInfo = c, t.horizontalDegreesOfFreedom = 3, t.verticalDegreesOfFreedom = 4;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/views/support/drapedUtils.js":
  /*!*****************************************************************!*\
    !*** ./node_modules/arcgis-js-api/views/support/drapedUtils.js ***!
    \*****************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiViewsSupportDrapedUtilsJs(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__(
    /*! ../../geometry */
    "./node_modules/arcgis-js-api/geometry.js"), __webpack_require__(
    /*! ../../core/maybe */
    "./node_modules/arcgis-js-api/core/maybe.js"), __webpack_require__(
    /*! ../../core/unitUtils */
    "./node_modules/arcgis-js-api/core/unitUtils.js"), __webpack_require__(
    /*! ../../renderers/support/clickToleranceUtils */
    "./node_modules/arcgis-js-api/renderers/support/clickToleranceUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, a, n, i) {
      function l(e, r, a, i) {
        void 0 === i && (i = new t.Extent());
        var l;
        if ("2d" === a.type) l = r * a.resolution;else if ("3d" === a.type) {
          var s = a.basemapTerrain,
              o = s.overlayManager,
              c = o ? o.overlayPixelSizeInMapUnits(e) : 1;
          l = s && !s.spatialReference.equals(a.spatialReference) ? n.getMetersPerUnitForSR(s.spatialReference) / n.getMetersPerUnitForSR(a.spatialReference) : r * c;
        }
        var p = e.x - l,
            u = e.y - l,
            y = e.x + l,
            f = e.y + l,
            m = a.spatialReference;
        return i.xmin = Math.min(p, y), i.ymin = Math.min(u, f), i.xmax = Math.max(p, y), i.ymax = Math.max(u, f), i.spatialReference = m, i;
      }

      function s(e, r, t) {
        var n = t.toMap(e);
        return a.isNone(n) ? null : l(n, i.calculateTolerance(), t, o).intersects(r) ? n : null;
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      }), r.createQueryGeometry = l, r.intersectsDrapedGeometry = s;
      var o = new t.Extent();
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  }
}]);
//# sourceMappingURL=33-es5.js.map